This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/42528] ICE with -flto and -fsigned-char
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2010 14:33:20 -0000
- Subject: [Bug lto/42528] ICE with -flto and -fsigned-char
- References: <bug-42528-8090@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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