[Bug target/49880] New: SuperH: ICE when -m4 is used with -mdiv=call-div1
uwe at netbsd dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 27 22:39:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49880
Summary: SuperH: ICE when -m4 is used with -mdiv=call-div1
Product: gcc
Version: 4.5.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: uwe@netbsd.org
Host: i386--netbsdelf
Target: shle--netbsdelf
Build: i386--netbsdelf
$ cat idiv.c
int
foo(int a, int b)
{
return a/b;
}
$ /usr/nbgcc45/tools/bin/shle--netbsdelf-gcc -S -m4 -mdiv=call-div1 idiv.c
idiv.c: In function 'foo':
idiv.c:5:1: error: unrecognizable insn:
(insn 14 13 15 3 idiv.c:4 (parallel [
(set (reg:SI 159 [ D.1950 ])
(div:SI (reg:SI 4 r4)
(reg:SI 5 r5)))
(clobber (reg:SI 147 t))
(clobber (reg:SI 146 pr))
(clobber (reg:SI 1 r1))
(clobber (reg:SI 2 r2))
(clobber (reg:SI 3 r3))
(use (reg:SI 165))
]) -1 (expr_list:REG_EQUAL (div:SI (mem/c/i:SI (plus:SI (reg/f:SI 163)
(const_int 60 [0x3c])) [0 a+0 S4 A32])
(mem/c/i:SI (plus:SI (reg/f:SI 164)
(const_int 56 [0x38])) [0 b+0 S4 A32]))
(nil)))
idiv.c:5:1: internal compiler error: in extract_insn, at recog.c:2103
More information about the Gcc-bugs
mailing list