aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2021-02-25 15:55:28 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2021-02-25 16:03:28 +0000
commit01c2ce169a05c8e59c4182796876f7e0754e4b5c (patch)
tree295451fb5e721f8c8dffe8974602755d9f602406 /gcc
parented255fd5eda5e2530779bb69b8805c916ddfe0c2 (diff)
downloadgcc-01c2ce169a05c8e59c4182796876f7e0754e4b5c.zip
gcc-01c2ce169a05c8e59c4182796876f7e0754e4b5c.tar.gz
gcc-01c2ce169a05c8e59c4182796876f7e0754e4b5c.tar.bz2
PR middle-end/97172 - ICE: tree code 'ssa_name' is not supported in LTO streams
Skip test when -shared is not supported. 2021-02-25 Christophe Lyon <christophe.lyon@linaro.org> gcc/testsuite/ PR middle-end/97172 * gcc.dg/pr97172-2.c: Add dg-require-effective-target shared.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/pr97172-2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr97172-2.c b/gcc/testsuite/gcc.dg/pr97172-2.c
index 6f355bb..99cc6c2 100644
--- a/gcc/testsuite/gcc.dg/pr97172-2.c
+++ b/gcc/testsuite/gcc.dg/pr97172-2.c
@@ -3,6 +3,7 @@
{ dg-do link }
{ dg-options "-Wall -flto -fpic -shared" }
{ dg-require-effective-target fpic }
+ { dg-require-effective-target shared }
{ dg-require-effective-target lto } */
#include "pr97172.c"