Bug 29996 - sh-elf: should enable -fomit-frame-pointer
Summary: sh-elf: should enable -fomit-frame-pointer
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: missed-optimization
Depends on:
Blocks: 29842
  Show dependency tree / graph
 
Reported: 2006-11-27 16:11 UTC by Jorn Wolfgang Rennecke
Modified: 2010-07-16 11:34 UTC (History)
1 user (show)

See Also:
Host:
Target: sh-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorn Wolfgang Rennecke 2006-11-27 16:11:55 UTC
-fomit-frame-pointer should be enabled by setting CAN_DEBUG_WITHOUT_FP,
but only after thorough testing for every multilib that that debugging
is not impeded, and that average benchmark scores are indeed improved.
Comment 1 chrbr 2010-07-16 11:34:53 UTC
done since http://gcc.gnu.org/ml/gcc-patches/2010-01/msg01147.html

needed ACCUMULATE_OUTGOING_ARG to fix unwinding (can go back to previous behavior with -mno-accumulate-outgoing-args -fno-omit-frame-pointer)