aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-04-09 01:58:40 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-04-09 19:41:53 +0800
commitc8f7324e81c1bb7093a5b44317af385e5774f9a3 (patch)
tree4e0a17209edd84d993c8693494da66e6a1b30ea0 /gcc/config.gcc
parent6e345078624ab4f872dca29e92f83682f94369f8 (diff)
downloadgcc-c8f7324e81c1bb7093a5b44317af385e5774f9a3.zip
gcc-c8f7324e81c1bb7093a5b44317af385e5774f9a3.tar.gz
gcc-c8f7324e81c1bb7093a5b44317af385e5774f9a3.tar.bz2
loongarch: testsuite: adapt stack-usage-1.c for LP64
LoongArch backend allocates two additional 8-byte stack slots for LP64, one for saving $fp and another for saving the temporary value "1". Ideally they are both unneeded, but (1) we're using -O0 so the code is suboptimized by the nature; (2) any improvement (if possible) should be deferred to GCC 13. So for now simply adjust the test to make it pass. gcc/testsuite/ * gcc.dg/stack-usage-1.c: Adjust for LoongArch LP64.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions