The following valid code snippet triggers an ICE on mainline and 4.3 branch when compiled with -O:
============================================ void foo() { double x = 4, y; __asm__ volatile ("" : "=r,r" (x), "=r,r" (y) : "%0,0" (x), "m,r" (8)); } ============================================ bug.c: In function 'void foo()': bug.c:5: error: Failure trying to reload: (nil) bug.c:5: internal compiler error: in gen_reload, at reload1.c:8043 Please submit a full bug report, [etc.] -- Summary: [4.3/4.4 regression] ICE with inline asm in reload Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: inline-asm AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35318