aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2019-05-09 11:51:59 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2019-05-09 11:51:59 +0200
commit7d48b7adadcd717a1da26a1b1def98601d767099 (patch)
treec1feb728600d3250a2875b644d98f845101f24a6 /gcc
parentb2536b7c3de5aaaa18a5205a851d43059f868c57 (diff)
downloadgcc-7d48b7adadcd717a1da26a1b1def98601d767099.zip
gcc-7d48b7adadcd717a1da26a1b1def98601d767099.tar.gz
gcc-7d48b7adadcd717a1da26a1b1def98601d767099.tar.bz2
[PR89221] Continue to default to '--disable-frame-pointer' for x86 GNU systems
The recent trunk r270914 for PR89221 "--enable-frame-pointer does not work as intended" fixed a scripting defect in the x86 '--enable-frame-pointer' handling. This has the side effect that, for example, for '--target=i686-gnu' this is now enabled by default: 'USE_IX86_FRAME_POINTER=1' is added to 'tm_defines'. Given that it's highly unlikely that anyone would now suddenly want '--enable-frame-pointer' as the default for any kind of GNU system, I'm changing the default back for GNU systems, to match that of a 'target_os' of 'linux* | darwin[8912]*'. gcc/ PR target/89221 * configure.ac (--enable-frame-pointer): Disable by default for GNU systems. * configure: Regenerate. From-SVN: r271028
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rwxr-xr-xgcc/configure4
-rw-r--r--gcc/configure.ac4
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 37447f8..ea96146 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2019-05-09 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR target/89221
+ * configure.ac (--enable-frame-pointer): Disable by default for
+ GNU systems.
+ * configure: Regenerate.
+
2019-05-09 Alan Modra <amodra@gmail.com>
PR target/89271
diff --git a/gcc/configure b/gcc/configure
index 08cce6f..947d263 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -12197,8 +12197,8 @@ if test "${enable_frame_pointer+set}" = set; then :
else
case $target_os in
-linux* | darwin[8912]*)
- # Enable -fomit-frame-pointer by default for Linux and Darwin with DWARF2.
+linux* | gnu* | darwin[8912]*)
+ # Enable -fomit-frame-pointer by default for these systems with DWARF2.
enable_frame_pointer=no
;;
*)
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 7c526b9..bfcdf52 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1884,8 +1884,8 @@ AC_ARG_ENABLE(frame-pointer,
[enable -fno-omit-frame-pointer by default for x86])], [],
[
case $target_os in
-linux* | darwin[[8912]]*)
- # Enable -fomit-frame-pointer by default for Linux and Darwin with DWARF2.
+linux* | gnu* | darwin[[8912]]*)
+ # Enable -fomit-frame-pointer by default for these systems with DWARF2.
enable_frame_pointer=no
;;
*)