[Bug optimization/14418] Unnecessary loads and stores for tail call
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 31 21:28:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-03-31 21:28 -------
Confirmed.
In particular, this is not necessary:
- after the call to bar(), the compiler tries to save the values of
x and y (which are in registers ebx and esi) to their original
locations. They should be unchanged there, so we do some unnecessary
stores here
- before the call to bar, the compiler loads y into esi, which is
really useless since y is never used in this function except for the
tail call.
W.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |pessimizes-code
Last reconfirmed|0000-00-00 00:00:00 |2004-03-31 21:28:38
date| |
Summary| |Unnecessary loads and stores
| |for tail call
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14418
More information about the Gcc-bugs
mailing list