Recent gcc snapshots fail with the following testcase:

> cat bug.c
double log(double x);
void f() { unsigned char a = log(0); }

> gcc -march=athlon-xp -mfpmath=sse bug.c
bug.c: In function 'f':
bug.c:2: error: unrecognizable insn:
(insn 11 10 12 3 (set (reg:SI 61)
        (fix:SI (reg:DF 58 [ D.1820 ]))) -1 (nil)
    (nil))
bug.c:2: internal compiler error: in extract_insn, at recog.c:2108


-- 
           Summary: ICE with -march=athlon-xp -mfpmath=sse
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wouter dot vermaelen at pi dot be


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30757

Reply via email to