Require section_anchors in gcc.dg/visibility-21.c
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 16 May 2013 14:39:21 +0000 (14:39 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 16 May 2013 14:39:21 +0000 (14:39 +0000)
* gcc.dg/visibility-21.c: Require section_anchors.

From-SVN: r198974

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/visibility-21.c

index 879b9bc1fc78e440accb4376f1ca5a61585bbae4..2309e8c638f5e7252782add2efc9bb179d4375fd 100644 (file)
@@ -1,3 +1,7 @@
+2013-05-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * gcc.dg/visibility-21.c: Require section_anchors.
+
 2013-05-16  Greta Yorsh  <Greta.Yorsh@arm.com>
 
        * gcc.target/arm/unaligned-memcpy-2.c: Adjust expected output.
index 264204e848e445164042952574401f8ac2d7c01c..59d1b45674bf620a3f80d9891630cd9c13134f82 100644 (file)
@@ -3,6 +3,7 @@
 /* { dg-options "-O2 -fsection-anchors" } */
 /* { dg-require-visibility "" } */
 /* { dg-require-weak "" } */
+/* { dg-require-effective-target section_anchors } */
 /* { dg-final { scan-assembler-not "ANCHOR" } } */
 
 int __attribute__((weak, visibility("hidden"))) weak_hidden[3];