[Bug target/89221] --enable-frame-pointer does not work as intended

2019-05-13 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89221

--- Comment #6 from uros at gcc dot gnu.org ---
Author: uros
Date: Mon May 13 14:58:38 2019
New Revision: 271129

URL: https://gcc.gnu.org/viewcvs?rev=271129=gcc=rev
Log:
PR target/89221
* configure.ac (--enable-frame-pointer):
Disable by default for cygwin and mingw.
* configure: Regenerate.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/configure
trunk/gcc/configure.ac

[Bug target/89221] --enable-frame-pointer does not work as intended

2019-05-09 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89221

--- Comment #5 from Thomas Schwinge  ---
Author: tschwinge
Date: Thu May  9 09:51:59 2019
New Revision: 271028

URL: https://gcc.gnu.org/viewcvs?rev=271028=gcc=rev
Log:
[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.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/configure
trunk/gcc/configure.ac

[Bug target/89221] --enable-frame-pointer does not work as intended

2019-05-06 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89221

Uroš Bizjak  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Uroš Bizjak  ---
Fixed for gcc-10.

[Bug target/89221] --enable-frame-pointer does not work as intended

2019-05-06 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89221

--- Comment #3 from uros at gcc dot gnu.org ---
Author: uros
Date: Mon May  6 14:58:57 2019
New Revision: 270914

URL: https://gcc.gnu.org/viewcvs?rev=270914=gcc=rev
Log:
PR target/89221
* config.gcc (i[34567]86-*-*, x86_64-*-*): Move tests for enable_cld
and enable_frame_pointer ...
* configure.ac: ... here.  Update help strings for
--enable-frame-pointer.
* configure: Regenerate.
* config/i386/i386-options.c (ix86_option_override_internal): Remove
USE_X86_64_FRAME_POINTER define, use USE_IX86_FRAME_POINTER instead.
* config/i386/sol2.h (USE_IX86_FRAME_POINTER): Remove.
(USE_X86_64_FRAME_POINTER): Ditto.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/i386/i386-options.c
trunk/gcc/config/i386/sol2.h
trunk/gcc/configure
trunk/gcc/configure.ac

[Bug target/89221] --enable-frame-pointer does not work as intended

2019-02-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89221

Uroš Bizjak  changed:

   What|Removed |Added

   Target Milestone|9.0 |10.0

--- Comment #2 from Uroš Bizjak  ---
Patch at [1].

[1] https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00686.html

[Bug target/89221] --enable-frame-pointer does not work as intended

2019-02-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89221

Uroš Bizjak  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2019-02-08
   Assignee|unassigned at gcc dot gnu.org  |ubizjak at gmail dot com
   Target Milestone|--- |9.0
 Ever confirmed|0   |1

--- Comment #1 from Uroš Bizjak  ---
I have a patch.