The following (IMHO valid) code snippet triggers an ICE since GCC 4.3.0 when compiled with "-O":
======================================== double foo() { double x; asm("" : "=r,r"(x) : "0,0"(x)); return x; } ======================================== bug.c: In function 'foo': bug.c:5: internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1393 Please submit a full bug report, [etc.] The same code compiles fine if I use float instead of double. -- Summary: [4.3/4.4 regression] ICE with double in inline-asm 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 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39058