diff options
author | Xi Ruoyao <xry111@xry111.site> | 2024-01-23 19:32:38 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2024-01-23 23:44:26 +0800 |
commit | 46f3ba56c47f002153d23334348dadea206dae79 (patch) | |
tree | 13124783bbc27f6f64977cfb565b52a26c3d6261 /gcc/expr.cc | |
parent | c608ada288ced0268bbbbc1fd4136f56c34b24d4 (diff) | |
download | gcc-46f3ba56c47f002153d23334348dadea206dae79.zip gcc-46f3ba56c47f002153d23334348dadea206dae79.tar.gz gcc-46f3ba56c47f002153d23334348dadea206dae79.tar.bz2 |
LoongArch: testsuite: Disable stack protector for got-load.C
When building GCC with --enable-default-ssp, the stack protector is
enabled for got-load.C, causing additional GOT loads for
__stack_chk_guard. So mem/u will be matched more than 2 times and the
test will fail.
Disable stack protector to fix this issue.
gcc/testsuite:
* g++.target/loongarch/got-load.C (dg-options): Add
-fno-stack-protector.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions