From 6221eb9d9df480a20831ff02e934c883d0d5ba0c Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 13 May 2019 16:58:38 +0200 Subject: [PATCH] re PR target/89221 (--enable-frame-pointer does not work as intended) PR target/89221 * configure.ac (--enable-frame-pointer): Disable by default for cygwin and mingw. * configure: Regenerate. From-SVN: r271129 --- gcc/ChangeLog | 7 +++++++ gcc/configure | 2 +- gcc/configure.ac | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6e8d8180158..65771fbd5b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-05-13 Uroš Bizjak + + PR target/89221 + * configure.ac (--enable-frame-pointer): + Disable by default for cygwin and mingw. + * configure: Regenerate. + 2019-05-13 Nathan Sidwell * dwarf2out.c (breakout_comdat_types): Move comment to correct diff --git a/gcc/configure b/gcc/configure index 947d263a617..3cab176e501 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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 ;; diff --git a/gcc/configure.ac b/gcc/configure.ac index bfcdf526e44..264f36fb78a 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -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 ;; -- 2.30.2