This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line
- From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 11 Jun 2016 13:07:11 +0000
- Subject: [Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line
- Auto-submitted: auto-generated
- References: <bug-71481-4 at http dot gcc dot gnu dot org/bugzilla/>
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.