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

           Summary: gcc.target/i386/(u)divmod-[58].c FAIL: ICE: in
                    dec_register_pressure, at ira-lives.c:215 with
                    -fira-algorithm=priority
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz


Compiler output:
$ gcc gcc.target/i386/divmod-5.c -O -m8bit-idiv -fira-algorithm=priority
gcc.target/i386/divmod-5.c: In function 'bar':
gcc.target/i386/divmod-5.c:10:1: internal compiler error: in
dec_register_pressure, at ira-lives.c:215
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

$ gcc gcc.target/i386/divmod-8.c -O -m8bit-idiv -fira-algorithm=priority
gcc.target/i386/divmod-8.c: In function 'bar':
gcc.target/i386/divmod-8.c:12:1: internal compiler error: in
dec_register_pressure, at ira-lives.c:215
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

I think I have seen this ICE often with -fira-algorithm=priority
-fschedule-insns, but I didn't report it. This is the only case I found where
-fira-algorithm=priority fails without -fschedule-insns.

Tested revisions:
r165915 - crash
r165699 - crash

Reply via email to