[Bug tree-optimization/42586] New: load-modify-store on x86 should be \ single instruction
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 3 07:49:00 GMT 2010
------- Comment #16 from pinskia at gcc dot gnu dot org 2010-01-03 07:49 -------
(In reply to comment #15)
> As an addendum the unnecessary stack frame seems to be a very common problem,
> it's in a lot of the examples near the end of
> http://embed.cs.utah.edu/embarrassing/dec_09/harvest/gcc-head_suncc-5.10/
> typically combined with tail call optimization
Well the unnecessary stack frame is due to frame pointer is not omitted by
default with GCC due to debugging/backtrace reasons. Try -fomit-frame-pointer
:).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42586
More information about the Gcc-bugs
mailing list