[Bug inline-asm/39059] New: [4.3/4.4 regression] ICE with fixed-point type in inline-asm

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 1 11:14:00 GMT 2009


The following (IMHO valid) testcase triggers an ICE since GCC 4.3.0
(when fixed-point types were introduced):

============================================================
void foo()
{
  asm("" : : "r"(0r));
}
============================================================

bug.c: In function 'foo':
bug.c:4: internal compiler error: in init_move_cost, at reginfo.c:270
Please submit a full bug report, [etc.]

Technically, this is a regression since the code did not crash the
compiler before (because it was rejected earlier).


-- 
           Summary: [4.3/4.4 regression] ICE with fixed-point type 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=39059



More information about the Gcc-bugs mailing list