https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481

--- Comment #8 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to David Malcolm from comment #6)
> I wonder if it would be better to instead hardcode LANG=C in the Makefile.am
> hooks that run the selftests?  The DejaGnu-based testsuite does that.

Well, hopefully this will be the only language-dependent string here.
And OTOH LANG=C makes the testsuite totally blind against language-
dependent bugs like that.

apparently when LANG=de_DE.UTF-8 <built-in> is translated to <eingebaut>
LOCATION_FILE(BUILTINS_LOCATION)->expand_location->expand_location_1:
expands to _(<built-in>") input.c line 170.
So now it is clear to me that the assertion will always hold with
_("<built-in>") regardless what the translation may be.

Reply via email to