]> gcc.gnu.org Git - gcc.git/commit
[i386] Fix push2pop2 test fail on non-linux target [PR112729]
authorHongyu Wang <hongyu.wang@intel.com>
Tue, 28 Nov 2023 03:24:01 +0000 (11:24 +0800)
committerHongyu Wang <hongyu.wang@intel.com>
Wed, 29 Nov 2023 00:49:03 +0000 (08:49 +0800)
commit99fa0bfd63d97825c4221dcd3123940f1d0e6291
tree3a7d08eea7b4e122213caedb8ba3be7d2cba022a
parent6c85b8a9877364975fb0824c52683fcd27cf39f6
[i386] Fix push2pop2 test fail on non-linux target [PR112729]

On linux x86-64, -fomit-frame-pointer was by default enabled so the
push2pop2 tests cfi scans are based on it. On other target with
-fno-omit-frame-pointer the cfi scan will be wrong as the frame pointer
is pushed at first. Add -fomit-frame-pointer to these tests that related
to cfi scan.

gcc/testsuite/ChangeLog:

PR target/112729
* gcc.target/i386/apx-interrupt-1.c: Add -fomit-frame-pointer.
* gcc.target/i386/apx-push2pop2-1.c: Likewise.
* gcc.target/i386/apx-push2pop2_force_drap-1.c: Likewise.
gcc/testsuite/gcc.target/i386/apx-interrupt-1.c
gcc/testsuite/gcc.target/i386/apx-push2pop2-1.c
gcc/testsuite/gcc.target/i386/apx-push2pop2_force_drap-1.c
This page took 0.074413 seconds and 6 git commands to generate.