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
* [Bug tree-optimization/21093] missed tail call optimization when local address could escape
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 ` pinskia at gcc dot gnu dot org
2005-09-21 2:20 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-07 22:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-07 22:47 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-05-07 22:47:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21093
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/21093] missed tail call optimization when local address could escape
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
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-21 2:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-21 02:20 -------
Very much related to PR 23384.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |23384
Last reconfirmed|2005-06-26 20:21:00 |2005-09-21 02:20:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21093
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/21093] missed tail call optimization when local address could escape
[not found] <bug-21093-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-22 2:14 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-22 2:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21093
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2006-08-21 06:03:41 |2021-8-21
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I see clang/LLVM can do this optimization.
^ permalink raw reply [flat|nested] 4+ messages in thread
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).