This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14135] New: No sibcalling for some obvious places (happens in java's front-end)
- 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: 13 Feb 2004 04:42:39 -0000
- Subject: [Bug optimization/14135] New: No sibcalling for some obvious places (happens in java's front-end)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The function, f, should just have a sibcalling to t and should be the same as function, g.
This is derived from the java front-end (java_tree_inlining_walk_subtrees, case BLOCK).
int t(int);
int f(int i)
{
int result;
result = t(i);
if (result)
return result;
return 0;
}
int g(int i)
{
return t(i);
}
--
Summary: No sibcalling for some obvious places (happens in java's
front-end)
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: pessimizes-code
Severity: normal
Priority: P2
Component: 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=14135