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 <ebotca...@adacore.com>
>
> * config/i386/i386.c (ix86_finalize_stack_frame_flags): Do not overrule
> -fno-omit-frame-pointer when not optimizing.
>
OK
jeff