This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/77569] [7 Regression] self tests fail when not using C locale
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jan 2017 12:47:01 +0000
- Subject: [Bug bootstrap/77569] [7 Regression] self tests fail when not using C locale
- Auto-submitted: auto-generated
- References: <bug-77569-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77569
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #40446|0 |1
is obsolete| |
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 40447
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40447&action=edit
gcc7-pr77569.patch
Actually, the cb.error callback receives the message translated, without
further modifications like expansion of %s etc., so if we just don't strstr for
a substring, but instead strcmp with the whole message (after translation), I
think it should work both in C/locales without translation for this message as
well as locales that have it translated. As my iconv handles ebcdic correctly,
I can't test though...