This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [x86] Do not omit the frame pointer at -O0


On 06/20/2018 07:56 AM, Eric Botcazou wrote:
> Hi,
> 
> the fix for PR target/81736 unconditionally overrules -fno-omit-frame-pointer, 
> including at -O0 where it is implicit.  That seems brutal and unnecessary so 
> the attached patch reverts it at -O0 and thus fixes 135 failures in the GDB 
> testsuite:
> 
>                 === gdb Summary ===
>  
> -# of expected passes           55397
> -# of unexpected failures       359
> +# of expected passes           55534
> +# of unexpected failures       224
>  # of unexpected successes      3
>  # of expected failures         64
>  # of unknown successes         3
> 
> Tested on x86-64/Linux, OK for mainline and 8 branch?
> 
> 
> 2018-06-20  Eric Botcazou  <ebotcazou@adacore.com>
> 
> 	* config/i386/i386.c (ix86_finalize_stack_frame_flags): Do not overrule
> 	-fno-omit-frame-pointer when not optimizing.
> 
OK
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]