diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-02-15 20:04:01 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2024-02-15 20:04:01 +0100 |
commit | 0d5d1c75f5c68b6064640c3154ae5f4c0b464905 (patch) | |
tree | 76c7928b96171c7410c91335016fd57adf9f5189 /gcc | |
parent | cb80582229e7800eeb9570c24186b843dff5fcd7 (diff) | |
download | gcc-0d5d1c75f5c68b6064640c3154ae5f4c0b464905.zip gcc-0d5d1c75f5c68b6064640c3154ae5f4c0b464905.tar.gz gcc-0d5d1c75f5c68b6064640c3154ae5f4c0b464905.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr107385.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr107385.c b/gcc/testsuite/gcc.dg/pr107385.c index b678f57..0cc0655 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 |