diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2024-02-01 12:53:06 +0100 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2024-02-01 12:53:06 +0100 |
commit | 7fd4bb1d987c3dc084bd367c93e689325f24b84a (patch) | |
tree | f042b3c41d8e83dbc68cbef4a55bfb0b16139c1d /libcpp | |
parent | 6353c39699076444190b8e329f7c2fc28204662c (diff) | |
download | gcc-7fd4bb1d987c3dc084bd367c93e689325f24b84a.zip gcc-7fd4bb1d987c3dc084bd367c93e689325f24b84a.tar.gz gcc-7fd4bb1d987c3dc084bd367c93e689325f24b84a.tar.bz2 |
testsuite: i386: Fix gcc.target/i386/no-callee-saved-1.c etc. on Solaris/x86
The gcc.target/i386/no-callee-saved-[12].c tests FAIL on Solaris/x86:
FAIL: gcc.target/i386/no-callee-saved-1.c scan-assembler-not push
FAIL: gcc.target/i386/no-callee-saved-2.c scan-assembler-not push
In both cases, the test expect the Linux/x86 default of
-fomit-frame-pointer, while Solaris/x86 defaults to
-fno-omit-frame-pointer.
So this patch explicitly specifies -fomit-frame-pointer.
Tested on i386-pc-solaris2.11 (as and gas) and i686-pc-linux-gnu.
2024-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
* gcc.target/i386/no-callee-saved-1.c: Add -fomit-frame-pointer to
dg-options.
* gcc.target/i386/no-callee-saved-2.c: Likewise.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions