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 middle-end/25120] builtin *printf handlers are confused by -fexec-charset



------- 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


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