diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2013-03-28 08:29:51 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2013-03-28 08:29:51 +0000 |
commit | b722e235c8b585ff1545fd885b7a5fcb9da049a5 (patch) | |
tree | 134317f0792fd7a5a92a95aff9a7a2ba99ac5a77 /gcc/toplev.c | |
parent | bb4ee0ca27ae46445b5536d4faa45b9fec2a35fc (diff) |
* toplev.c (process_options): Do not disable -fomit-frame-pointer on a
general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS
is not enabled.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@197187 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 071f1bdc3af..7bced044634 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1527,18 +1527,6 @@ process_options (void) if (!flag_stack_protect) warn_stack_protect = 0; - /* ??? Unwind info is not correct around the CFG unless either a frame - pointer is present or A_O_A is set. Fixing this requires rewriting - unwind info generation to be aware of the CFG and propagating states - around edges. */ - if (flag_unwind_tables && !ACCUMULATE_OUTGOING_ARGS - && flag_omit_frame_pointer) - { - warning (0, "unwind tables currently require a frame pointer " - "for correctness"); - flag_omit_frame_pointer = 0; - } - /* Address Sanitizer needs porting to each target architecture. */ if (flag_asan && (targetm.asan_shadow_offset == NULL |