Fortran : Fortran translation issues PR52279
David Edelsohn
dje.gcc@gmail.com
Thu Jul 2 13:38:50 GMT 2020
On Thu, Jul 2, 2020 at 8:56 AM Mark Eggleston
<mark.eggleston@codethink.co.uk> wrote:
>
> On 02/07/2020 13:25, David Edelsohn wrote:
> > On Thu, Jul 2, 2020 at 6:16 AM Mark Eggleston
> > <mark.eggleston@codethink.co.uk> wrote:
> >> I've committed the change from array to pointer. Does this fix your builds?
> >>
> >> On 02/07/2020 08:18, Mark Eggleston wrote:
> >>> On 01/07/2020 20:07, David Edelsohn wrote:
> >>>> This patch breaks bootstrap.
> >>> Apologies. I didn't see this when I built the compiler the with
> >>> bootstrap on x86_64. I'll endevour to get it fixed as soon as possible.
> > Mark,
> >
> > Your change did nothing because I previously had removed the
> > translation markers to restore bootstrap. You were not sufficiently
> > observant to check the ChangeLog or notice that the line already was
> > changed.
> >
> > Please stop making random, untested changes. This is inappropriate
> > for GCC development.
> OK. I had no way of confirming as the bootstrap worked for me. I naively
> thought that it was covered as an "obvious" fix.
>
> I was concerned that I caused a breakage and wanted to fix it.
>
> Regarding the ChangeLog I was unfamiliar with this situation and will
> check them if this ever happens again (I hope not). I'll also keep
> portability issues in mind.
>
> I see the issue of the incorrect hint text has been addressed. As I
> understand it the string as is will not make it to the pot file so will
> not be translated, is that acceptable? I would like to be able to close
> the PR.
Mark,
I reverted your change for that one line to restore bootstrap for
everyone because Trunk should not be broken for 6 hours and it was
trivial to revert that one, localized change without affecting the
rest of your patch.
The translation message for hint should be in the pot file
translation. This needs to be fixed correctly.
I would suggest that you restore your original change and work to
reproduce the failure. I don't know if you were not building with NLS
or had some other local configuration. It seems that
hint[] = _("...")
cannot be valid C syntax unless _( ... ) is a no-op in your build and
the compiler sees a constant string. The failure occurred for many
other developers.
Thanks, David
More information about the Gcc-patches
mailing list