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.

Reply via email to