PR middle-end/97172 - ICE: tree code 'ssa_name' is not supported in LTO streams
authorChristophe Lyon <christophe.lyon@linaro.org>
Thu, 25 Feb 2021 15:55:28 +0000 (15:55 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Thu, 25 Feb 2021 16:03:28 +0000 (16:03 +0000)
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.

gcc/testsuite/gcc.dg/pr97172-2.c

index 6f355bb..99cc6c2 100644 (file)
@@ -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"