public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/21093] New: missed tail call optimization when local address could escape
@ 2005-04-18 19:54 pinskia at gcc dot gnu dot org
  2005-05-07 22:47 ` [Bug tree-optimization/21093] " pinskia at gcc dot gnu dot org
  2005-09-21  2:20 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-18 19:54 UTC (permalink / raw)
  To: gcc-bugs

Missed tail call optimization when local address could escape but not on the condition:
void f(void);
void f1(int *);

void g(int i, int j)
{
  if (j)
    return f();
  return f1(&i);
}

This might be a reduced testcase from fold_binary to fold_build2 where we have this issue, but I have 
not looked through all of the conditionals to see if this is true.

-- 
           Summary: missed tail call optimization when local address could
                    escape
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <bug-21093-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2021-08-22  2:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-18 19:54 [Bug tree-optimization/21093] New: missed tail call optimization when local address could escape pinskia at gcc dot gnu dot org
2005-05-07 22:47 ` [Bug tree-optimization/21093] " pinskia at gcc dot gnu dot org
2005-09-21  2:20 ` pinskia at gcc dot gnu dot org
     [not found] <bug-21093-4@http.gcc.gnu.org/bugzilla/>
2021-08-22  2:14 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).