aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2013-03-28 08:29:10 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2013-03-28 08:29:10 +0000
commita9dc2a2f95a6a88c99a75aa16f7a43f2c2c3e93a (patch)
tree5cbe9a66fcb4ebeb366395692132227631fd760b
parentf1c47b9db7c607b65eb1007eb107e826ff9260b7 (diff)
downloadgcc-a9dc2a2f95a6a88c99a75aa16f7a43f2c2c3e93a.zip
gcc-a9dc2a2f95a6a88c99a75aa16f7a43f2c2c3e93a.tar.gz
gcc-a9dc2a2f95a6a88c99a75aa16f7a43f2c2c3e93a.tar.bz2
toplev.c (process_options): Do not disable -fomit-frame-pointer on a general basis if...
* 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. From-SVN: r197186
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/toplev.c12
2 files changed, 6 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3d2c4ea..2dda70c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2013-03-28 Eric Botcazou <ebotcazou@adacore.com>
+
+ * 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.
+
2013-03-27 Gerald Pfeifer <gerald@pfeifer.com>
* doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual.
diff --git a/gcc/toplev.c b/gcc/toplev.c
index ad42391..b85917d 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