http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621
chrbr at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chrbr at gcc dot gnu.org --- Comment #5 from chrbr at gcc dot gnu.org 2012-06-11 13:48:50 UTC --- I think this used to work, but the option initialization mechanism has changed recently indeed. Disabling it could break some supports for gprof or some old fashioned unwinders that need a frame pointer looking at the configure, it looks like there is no sh target using a different setting for DWARF2_DEBUG. So this line could probably just be removed from here. If an hypothetical target doesn't use DWARF2_DEBUG then maybe it should define SUBTARGET_FRAME_POINTER_REQUIRED to force it. I suspect that a definition like could be needed. #undef SUBTARGET_FRAME_POINTER_REQUIRED #define SUBTARGET_FRAME_POINTER_REQUIRED crtl->profile We need to check in which extend the current gprof is broken without a frame pointer.