This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/14210] New: ICE on -O3


ICE occurs if I do:
    m6811-elf-gcc -O3 -o ./a.o -c a.c

If I added '-mshort', no ICE.
If I changed -O3 to -O2, no ICE.

The error msg is:

a.c: In function `CalcCRC':
a.c:13: error: unrecognizable insn:
(insn:HI 31 30 32 5 (parallel [
            (set (reg:SI 70 [ c ])
                (ashift:SI (reg:SI 66 [ c ])
                    (const_int 8 [0x8])))
            (clobber (scratch:HI))
        ]) -1 (insn_list 30 (nil))
    (expr_list:REG_DEAD (reg:SI 66 [ c ])
        (expr_list:REG_UNUSED (scratch:HI)
            (expr_list:REG_EQUAL (ashift:SI (reg:SI 65 [ c ])
                    (const_int 8 [0x8]))
                (nil)))))
a.c:13: internal compiler error: in extract_insn, at recog.c:2083

-- 
           Summary: ICE on -O3
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: namsh at wimo dot co dot kr
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: m6811-unknown-none


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]