summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-02-15 20:04:01 +0100
committerJakub Jelinek <jakub@redhat.com>2024-02-15 20:09:02 +0100
commitda93a3d0976ad42aa6b4f5742119f3189ea21400 (patch)
treedd77a9e9ac103052209af15ddad545a36ac98828
parenta6005ed41111f1200ce59501cfadd2d8f558ad90 (diff)
testsuite: Require lra effective target for pr107385.c
Old reload doesn't support asm goto with output operands. We have lra effective target (though, strangely it returns 0 just for 2 targets out of at least 16 targets with no LRA support), so this patch uses it, similarly how it is done in other asm goto tests with output operands. 2024-02-15 Jakub Jelinek <jakub@redhat.com> PR middle-end/107385 * gcc.dg/pr107385.c: Require lra effective target. (cherry picked from commit 0d5d1c75f5c68b6064640c3154ae5f4c0b464905)
-rw-r--r--gcc/testsuite/gcc.dg/pr107385.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr107385.c b/gcc/testsuite/gcc.dg/pr107385.c
index b678f57a3df..0cc0655d848 100644
--- a/gcc/testsuite/gcc.dg/pr107385.c
+++ b/gcc/testsuite/gcc.dg/pr107385.c
@@ -1,5 +1,5 @@
/* PR middle-end/107385 */
-/* { dg-do run } */
+/* { dg-do run { target lra } } */
/* { dg-options "-O2" } */
__attribute__((noipa)) int