]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Enable the PR 87600 tests for LoongArch
authorXi Ruoyao <xry111@xry111.site>
Tue, 8 Jul 2025 06:07:21 +0000 (14:07 +0800)
committerXi Ruoyao <xry111@xry111.site>
Sun, 10 Aug 2025 03:26:45 +0000 (11:26 +0800)
commit06f43dfbbf314bbe6d0b905fc8780e525ef6e72a
tree6917436e0152069ad1f58a24b8071885cc382a2d
parent917956fe7d8918791a18a3ef83f71b67563d939d
testsuite: Enable the PR 87600 tests for LoongArch

I'm going to refine a part of the PR 87600 fix which seems triggering
PR 120983 that LoongArch is particularly suffering.  Enable the PR 87600
tests so I'll not regress PR 87600.

gcc/testsuite/ChangeLog:

PR rtl-optimization/87600
PR rtl-optimization/120983
* gcc.dg/pr87600.h [__loongarch__]: Define REG0 and REG1.
* gcc.dg/pr87600-1.c (dg-do): Add loongarch.
* gcc.dg/pr87600-2.c (dg-do): Likewise.

(cherry picked from commit 651845ceaae26a1b2c03f215e16e7e711dcea2cc)
gcc/testsuite/gcc.dg/pr87600-1.c
gcc/testsuite/gcc.dg/pr87600-2.c
gcc/testsuite/gcc.dg/pr87600.h