This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14312] [tree-ssa] [regression] tailcalls not being generated when functions contain pointers
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Feb 2004 12:38:01 -0000
- Subject: [Bug optimization/14312] [tree-ssa] [regression] tailcalls not being generated when functions contain pointers
- References: <20040227010444.14312.rearnsha@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rth at gcc dot gnu dot org 2004-02-27 12:37 -------
Diego, the problem here is that we reject FOO for tail-call optimization because
we find "TMT.1" is a "local variable" with TREE_ADDRESSABLE set. Clearly we need
to be ignoring memory tags.
Will you please invent a way to recoginize them and ignore them in
suitable_for_tail_opt_p?
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dnovillo at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14312