[Bug target/19616] [4.0 regression] missed tail call

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 24 23:21:00 GMT 2005


------- Additional Comments From steven at gcc dot gnu dot org  2005-01-24 23:21 -------
For amd64 we have the following .expand dump for the call (you can 
get it with -fdump-rtl-expand-details): 
 
;; Function foo (foo) 
 
 
;; Generating RTL for tree basic block 0 
 
;; bar (0.0) [tail call] 
(insn 14 9 15 (set (reg:DF 21 xmm0) 
        (float_extend:DF (mem/u/i:SF (symbol_ref/u:DI ("*.LC0") [flags 0x2]) 
[3 S4 A32]))) -1 (nil) 
    (expr_list:REG_EQUAL (const_double:DF 0.0 [0x0.0p+0]) 
        (nil))) 
 
(call_insn 15 14 0 (call (mem:QI (symbol_ref:DI ("bar") [flags 0x41] 
<function_decl 0x2a959879c0 bar>) [0 S1 A8]) 
        (const_int 0 [0x0])) -1 (nil) 
    (nil) 
    (expr_list:REG_DEP_TRUE (use (reg:DF 21 xmm0)) 
        (nil))) 
 
The SIBLING_CALL_P flag is not set on the call_insn. 
 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19616



More information about the Gcc-bugs mailing list