This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/15473] Sibcall optimization for libcalls.
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2004 06:52:54 -0000
- Subject: [Bug rtl-optimization/15473] Sibcall optimization for libcalls.
- References: <20040516100200.15473.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2004-05-17 06:52 -------
This is not a tree-ssa problem, we don't even know about libcalls
at the tree level (that's the whole point! or at least, one of them).
If anything, this is an rtl optimization problem.
This also is not code pessimization, just lack of an optimization.
Please use that keyword when we _pessimize_ your code (ie "make it
worse than without optimization").
You might be able to fix this when the tree profiling branch is
merged. At that point you'd have the CFG, and perhaps (but I'm
not sure) you can teach calls.c to build the libcall as a sibcall.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|tree-optimization |rtl-optimization
Summary|[tree-ssa] Sibcall |Sibcall optimization for
|optimization for libcalls. |libcalls.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15473