[Bug inline-asm/62144] "Frame pointer required, but reserved" error with -fomit-frame-pointer but only with -m32 -O2
luk32 at o2 dot pl
gcc-bugzilla@gcc.gnu.org
Wed Oct 29 09:46:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62144
--- Comment #8 from Łukasz Kucharski <luk32 at o2 dot pl> ---
Jakub,
fair enough. However, changing the optimization level should not break the
compilation. The issue is, at least for me, is not that we can't omit the frame
pointer, but that it depends on the optimization level.
I couldn't find anything in the docs, which would allow such behaviour. Maybe I
missed it. Anyway, IMO at most a warning should be issued that a potential
optimization conflicts with the flag.
With regards,
luk32.
More information about the Gcc-bugs
mailing list