re PR target/79749 (Many sparc testcases FAIL at -O0 with -fomit-frame-pointer)
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 28 Feb 2017 22:15:54 +0000 (22:15 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 28 Feb 2017 22:15:54 +0000 (22:15 +0000)
commit7a1ae9237440782d71d44703fe66e234ff6ce432
tree97afb37b24ac3411b91e36f06d8734400b26b022
parentcbf6ad9d6119db62e907a7e4a345b3a44137d036
re PR target/79749 (Many sparc testcases FAIL at -O0 with -fomit-frame-pointer)

PR target/79749
* config/sparc/sparc.c (sparc_frame_pointer_required): Add missing
condition on optimize for the leaf function test.

From-SVN: r245791
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sparc/20170228-1.c [new file with mode: 0644]