Compiler output:
$ /mnt/svn/gcc-trunk/binary-159696-lto-fortran/bin/gcc testcase.c
testcase.c: In function 'foo':
testcase.c:4:1: error: unrecognizable insn:
(insn 7 6 8 3 testcase.c:3 (set (reg:DI 58 [ D.2717 ])
        (unspec:DI [
                (reg:DI 61)
                (reg:DI 62)
            ] 143)) -1 (nil))
testcase.c:4:1: internal compiler error: in extract_insn, at recog.c:2099
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

--------- testcase.c ---------
int foo()
{
  return __builtin_ia32_crc32di(0, 0);
}
------------------------------

Tested revisions:
r159696 - crash
4.5 r158978 - crash (with checking)
4.4 r158133 - crash (with checking)
4.3.4, 4.4.3 - different crash (without checking)
4.1.2, 4.2.4 - __builtin_ia32_crc32di() is not builtin


-- 
           Summary: ICE: in extract_insn, at recog.c:2048 when
                    __builtin_ia32_crc32di is used
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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

Reply via email to