This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19616] [4.0 regression] missed tail call
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2005 23:21:20 -0000
- Subject: [Bug target/19616] [4.0 regression] missed tail call
- References: <20050124225403.19616.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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