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 lto/42528] ICE with -flto and -fsigned-char



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-01-03 14:33 -------
This is because va_list_type_node is char * on some targets and so
pointer-to char types get globbed into it.  But va_list_type_node is
re-constructed as char * at IL read time and thus we read back
unsigned char * as signed char *.

Oops.

I guess va_list_type_node better should be _not_ dependent on
-f[un]signed-char.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42528


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