re PR target/89221 (--enable-frame-pointer does not work as intended)
authorUros Bizjak <ubizjak@gmail.com>
Mon, 13 May 2019 14:58:38 +0000 (16:58 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 13 May 2019 14:58:38 +0000 (16:58 +0200)
PR target/89221
* configure.ac (--enable-frame-pointer):
Disable by default for cygwin and mingw.
* configure: Regenerate.

From-SVN: r271129

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 6e8d81801588c77f2d4edbb592d524a165dfb509..65771fbd5b6274a410328d655915682edfdd450b 100644 (file)
@@ -1,3 +1,10 @@
+2019-05-13  Uroš Bizjak  <ubizjak@gmail.com>
+
+       PR target/89221
+       * configure.ac (--enable-frame-pointer):
+       Disable by default for cygwin and mingw.
+       * configure: Regenerate.
+
 2019-05-13  Nathan Sidwell  <nathan@acm.org>
 
        * dwarf2out.c (breakout_comdat_types): Move comment to correct
index 947d263a6174030d47337c957e8e491c063414fb..3cab176e5018839003f8fcea395de055fbe0676b 100755 (executable)
@@ -12197,7 +12197,7 @@ if test "${enable_frame_pointer+set}" = set; then :
 else
 
 case $target_os in
-linux* | gnu* | darwin[8912]*)
+linux* | gnu* | darwin[8912]* | cygwin* | mingw*)
   # Enable -fomit-frame-pointer by default for these systems with DWARF2.
   enable_frame_pointer=no
   ;;
index bfcdf526e4467878bc861951652077ed0b5d2394..264f36fb78a8ab8a48a6c6cfa0acc3451ba40a41 100644 (file)
@@ -1884,7 +1884,7 @@ AC_ARG_ENABLE(frame-pointer,
                [enable -fno-omit-frame-pointer by default for x86])], [],
 [
 case $target_os in
-linux* | gnu* | darwin[[8912]]*)
+linux* | gnu* | darwin[[8912]]* | cygwin* | mingw*)
   # Enable -fomit-frame-pointer by default for these systems with DWARF2.
   enable_frame_pointer=no
   ;;