[Bug rtl-optimization/66795] Incorrect and missed optimizations of __builtin_frame_address
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 18 00:19:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66795
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The code below is invalid as __builtin_frame_address is only for reading from
the current frame. Also -O2 enables -fomit-frame-pointer which might cause the
frame pointer to go away.
More information about the Gcc-bugs
mailing list