]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Require lra effective target for pr107385.c
authorJakub Jelinek <jakub@redhat.com>
Thu, 15 Feb 2024 19:04:01 +0000 (20:04 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 15 Feb 2024 19:04:01 +0000 (20:04 +0100)
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.

gcc/testsuite/gcc.dg/pr107385.c

index b678f57a3dfc1c2c890a9f354ee6750a25cede9e..0cc0655d84834b5477f75ac6e371c95b1c977a9e 100644 (file)
@@ -1,5 +1,5 @@
 /* PR middle-end/107385 */
-/* { dg-do run } */
+/* { dg-do run { target lra } } */
 /* { dg-options "-O2" } */
 
 __attribute__((noipa)) int