This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/58158] internal compiler error: in extract_insn, at recog.c:2150 while compiling ImageMagick on mipsel
- From: "aaro.koskinen at iki dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Aug 2013 17:36:47 +0000
- Subject: [Bug target/58158] internal compiler error: in extract_insn, at recog.c:2150 while compiling ImageMagick on mipsel
- Auto-submitted: auto-generated
- References: <bug-58158-4 at http dot gcc dot gnu dot org/bugzilla/>
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.