[Bug target/53621] [SH] Frame pointers not generated with -fno-omit-frame-pointer on GCC 4.7.0
chrbr at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 12 13:26:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621
--- Comment #8 from chrbr at gcc dot gnu.org 2012-06-12 13:26:42 UTC ---
Created attachment 27612
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27612
fix
All the suspicious flags reviewed and looked OK excepted maybe
-maccumulate-outgoing-args that looks safer when initialized from the .opt
files, and overridden only in case of conflict with unwind tables.
Removed entirely the forcing of -fomit-frame-pointer as we discussed, since it
doesn't seem needed anymore. However, note that if we shall discover that it is
still in use for a non dwarf2 target, the line should be moved to
common/config/sh:sh_option_init_struct()
checked that omit-frame-pointer is correctly enforced for -pg from
sh_frame_pointer_required.
I'd like to push it to the 4.6, 4.7, validated under sh-superh-elf.
sh4-linux on-going.
Thanks
More information about the Gcc-bugs
mailing list