[Bug c/29122] New: ICE with -ipa-cp and -m64
eres at il dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 18 09:21:00 GMT 2006
gcc -O3 test.c --ipa-cp -m64
test.c:
========================================================
#include <stdio.h>
int
bar (int b, int c)
{
printf ("%d %d\n", b, c);
}
int
foo (int a)
{
if (a++ > 0)
bar (a, 3);
foo (7);
}
int
main ()
{
foo (7);
return 0;
}
========================================================
test.c: In function âfooâ:
test.c:16: error: unrecognizable insn:
(call_insn/j 31 30 32 5 (parallel [
(set (reg:DI 3 3)
(call (mem:SI (symbol_ref:DI ("T.10")) [0 S4 A8])
(const_int 64 [0x40])))
(use (const_int 0 [0x0]))
(use (reg:SI 126))
(return)
]) -1 (nil)
(expr_list:REG_EH_REGION (const_int 0 [0x0])
(nil))
(expr_list:REG_DEP_TRUE (use (reg:DI 3 3))
(nil)))
--
Summary: ICE with -ipa-cp and -m64
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eres at il dot ibm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29122
More information about the Gcc-bugs
mailing list