This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/29122] ICE with -ipa-cp and -m64 (tail calls)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]