aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2023-02-07 19:46:29 +0100
committerHans-Peter Nilsson <hp@bitrange.com>2023-02-08 21:44:10 +0100
commit70888d0982d9c4df4f74cd6f06f943778af1d1eb (patch)
treefad258b228e33985619742f309da0dda634ea4b7
parent77bb54b1b07add45007c664724b726541d672ef3 (diff)
downloadgcc-70888d0982d9c4df4f74cd6f06f943778af1d1eb.zip
gcc-70888d0982d9c4df4f74cd6f06f943778af1d1eb.tar.gz
gcc-70888d0982d9c4df4f74cd6f06f943778af1d1eb.tar.bz2
testsuite: Fix asm-goto-with-outputs tests; limit to lra targets
These tests spuriously lacked a "lra" limiter. Code using "asm goto" with outputs gets a: error: the target does not support 'asm goto' with outputs in 'asm' compilation error when compiled for a non-LRA target. Limit to LRA targets as other asm-goto-with-outputs tests. * gcc.dg/torture/pr100398.c: Limit to lra targets. * gcc.dg/pr100590.c: Ditto.
-rw-r--r--gcc/testsuite/gcc.dg/pr100590.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr100398.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/pr100590.c b/gcc/testsuite/gcc.dg/pr100590.c
index 5cd3687..8d1e1a0 100644
--- a/gcc/testsuite/gcc.dg/pr100590.c
+++ b/gcc/testsuite/gcc.dg/pr100590.c
@@ -1,5 +1,5 @@
/* PR rtl-optimization/100590 */
-/* { dg-do compile } */
+/* { dg-do compile { target lra } } */
/* { dg-options "-O1 -fno-dce -w" } */
int
diff --git a/gcc/testsuite/gcc.dg/torture/pr100398.c b/gcc/testsuite/gcc.dg/torture/pr100398.c
index 41eadde..4fc1168 100644
--- a/gcc/testsuite/gcc.dg/torture/pr100398.c
+++ b/gcc/testsuite/gcc.dg/torture/pr100398.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target lra } } */
int
test5_limit (void)