This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29122] ICE with -ipa-cp and -m64 (tail calls)
- From: "razya at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2006 11:44:34 -0000
- Subject: [Bug tree-optimization/29122] ICE with -ipa-cp and -m64 (tail calls)
- References: <bug-29122-13229@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from razya at il dot ibm dot com 2006-10-12 11:44 -------
(In reply to comment #0)
> 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)))
I would like to be assigned to this PR.
Razya
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29122