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

           Summary: ICE: in insn_default_length, at
                    config/i386/i386.md:588 (unrecognizable insn) with
                    -fsel-sched-pipelining -fselective-scheduling2
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz
            Target: x86_64-pc-linux-gnu


Created attachment 22509
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22509
reduced testcase (from various KDE applications)

Compiler output:
$ gcc -fschedule-insns2 -fsel-sched-pipelining -fselective-scheduling2
-fno-exceptions -O testcase.C
testcase.C: In function 'bool makeDir(unsigned int)':
testcase.C:41:1: error: unrecognizable insn:
(insn 110 109 106 11 (parallel [
            (set (mem/s/j:SI (reg/f:DI 0 ax [orig:69 D.2155 ] [69]) [0
D.2155_30->i+0 S4 A32])
                (asm_operands/v:SI ("") ("=m") 0 []
                     []
                     [] testcase.C:41))
            (set (reg:SI 1 dx [80])
                (asm_operands/v:SI ("") ("=qm") 1 []
                     []
                     [] testcase.C:41))
            (clobber (reg:QI 18 fpsr))
            (clobber (reg:QI 17 flags))
        ]) -1
     (nil))
testcase.C:41:1: internal compiler error: in insn_default_length, at
config/i386/i386.md:588
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r167054 - crash
r159696 - crash
4.5 r166509 - crash
4.4 r166509 - crash

The original testcase was failing only in 4.6, so maybe the reduced inline asm
is invalid.

Reply via email to