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

--- Comment #1 from Aaro Koskinen <aaro.koskinen at iki dot fi> ---
A simplified reproducer:

$ cat bar.c
extern void foo(void);

static inline double max(const double x, const double y)
{
        return (x > y) ? x : y;
}

void bar(int d)
{
        int i;

        for (i = 0; i < (int)max(100.0 * d, 1.0); i++) {
                foo();
        }
}
$ gcc -c -O2 bar.c
bar.c: In function 'bar':
bar.c:15:1: error: unrecognizable insn:
 }
 ^
(insn 23 22 24 2 (set (reg:SI 203 [ D.1511 ])
        (if_then_else:SI (ne:CC (reg:CC 67 $fcc0)
                (const_int 0 [0]))
            (reg:SI 203 [ D.1511 ])
            (reg:SI 206))) -1
     (nil))
bar.c:15:1: internal compiler error: in extract_insn, at recog.c:2150
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to