http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621

--- Comment #4 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2012-06-10 
23:24:57 UTC ---
Oleg's patch looks the right thing to do.  Perhaps

    if (PREFERRED_DEBUGGING_TYPE != DWARF2_DEBUG)
      flag_omit_frame_pointer = 0;

might a bit straight representation indicating that that flag can't be
enabled on some debugging formats, though I don't mind either way.

I guess that [no-]omit-frame-pointer is a best effort type flag and
a unconditional warning when it isn't accomplished may be a bit overdo.
A conditional warning will be not bad, though it would be beyond target
issue here.

Reply via email to