This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]