This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306
- 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: Wed, 2 Feb 2011 16:08:15 +0000
- Subject: [Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306
- Auto-submitted: auto-generated
- References: <bug-47274-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47274
--- Comment #31 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-02 16:07:14 UTC ---
Created attachment 23217
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23217
gcc46-pr47274.patch
I think it is fairly obvious where the bug is (though haven't tried to
reproduce it). Passing address of a 32-bit enum variable and outputting from
it the first byte obviously will DTRT only on little endian hosts.