[Bug target/57586] ICE when expanding volatile asm using unaligned pointer
jgreenhalgh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 11 14:53:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57586
jgreenhalgh at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jgreenhalgh at gcc dot gnu.org
--- Comment #2 from jgreenhalgh at gcc dot gnu.org ---
Created attachment 30292
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30292&action=edit
Working testcase
Modifying the '1' in:
counter *c = &((counter_wrapper *)(1))->y;
To something more aligned like a '4' as in the attached file and in:
counter *c = &((counter_wrapper *)(4))->y;
causes compilation to proceed as expected without an ICE.
More information about the Gcc-bugs
mailing list