[Bug inline-asm/58818] parameters optimized out using -O2
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 21 06:50:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58818
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> ---
You cannot depend on those being the correct locations in memory for the
arguments. With -O2, the code could be inlined which is what is happening in
your case.
More information about the Gcc-bugs
mailing list