[Bug middle-end/25120] builtin *printf handlers are confused by -fexec-charset
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 28 00:45:00 GMT 2005
------- Comment #5 from joseph at codesourcery dot com 2005-11-28 00:45 -------
Subject: Re: New: [3.4/4.0/4.1/4.2] builtin printf/fprintf
is confused by -fexec-charset
On Sun, 27 Nov 2005, ghazi at gcc dot gnu dot org wrote:
> With a program compiled with e.g. -O2 -fexec-charset=IBM1047, the builtin
> handlers for printf and fprintf get confused because they check for matching
> stuff in the format string like "%s", "%s\n", "%c" and trailing "\n" using the
> host's charset values. So they don't match correctly when compiling strings in
This looks the same as bug 20109 to me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25120
More information about the Gcc-bugs
mailing list