]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Guard gcc.target/aarch64/pr70398.c
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 9 Apr 2021 12:43:20 +0000 (13:43 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Fri, 9 Apr 2021 12:43:20 +0000 (13:43 +0100)
Not all hosts can link static executables.  It depends on which
development libraries are installed.

gcc/testsuite/
* gcc.target/aarch64/pr70398.c: Require a target that can link
static executables.

gcc/testsuite/gcc.target/aarch64/pr70398.c

index dbe5ad1b24f120264a2cc7a8ff05c3936ee38d1c..784a6700bb54469fe618112f7ea83279310d80e4 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-require-effective-target static } */
 /* { dg-options "-O -fno-tree-loop-optimize -fno-tree-ter -static" } */
 unsigned int in[8 * 8] =
   { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,