diff options
author | Lehua Ding <lehua.ding@rivai.ai> | 2023-11-14 16:42:19 +0800 |
---|---|---|
committer | Lehua Ding <lehua.ding@rivai.ai> | 2023-11-14 18:55:17 +0800 |
commit | e47e836f3138f89350e2fcd42ee1ec6741008bcb (patch) | |
tree | 2670b53957649016b3b77b56d3325c587b9dab89 /libgcc | |
parent | 426e92643285a081d2e32221268b2052d740aa35 (diff) | |
download | gcc-e47e836f3138f89350e2fcd42ee1ec6741008bcb.zip gcc-e47e836f3138f89350e2fcd42ee1ec6741008bcb.tar.gz gcc-e47e836f3138f89350e2fcd42ee1ec6741008bcb.tar.bz2 |
x86: Make testcase apx-spill_to_egprs-1.c more robust
Hi,
This little patch adjust the assert in apx-spill_to_egprs-1.c testcase.
The -mapxf compilation option allows more registers to be used, which in
turn eliminates the need for local variables to be stored in stack memory.
Therefore, the assertion is changed to detects no memory loaded through the
%rsp register.
gcc/testsuite/ChangeLog:
* gcc.target/i386/apx-spill_to_egprs-1.c: Make sure that no local
variables are stored on the stack.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions