This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16359] New: no tail call optimization happens when somehting has its address taken
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2004 15:33:53 -0000
- Subject: [Bug tree-optimization/16359] New: no tail call optimization happens when somehting has its address taken
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
int f(int *i);
int g(int i)
{
if (f(&i))
return 0;
return g(i);
}
int g1(int i)
{
repeat:
if (f(&i))
return 0;
i = i;
goto repeat;
}
--
Summary: no tail call optimization happens when somehting has its
address taken
Product: gcc
Version: 3.5.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=16359