* gcc.target/ia64/visibility-1.c (variable_l): Add used attribute.
authorAndreas Schwab <schwab@suse.de>
Sun, 18 May 2014 07:25:33 +0000 (07:25 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Sun, 18 May 2014 07:25:33 +0000 (07:25 +0000)
From-SVN: r210579

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/ia64/visibility-1.c

index 8dce3ec..fbb18ca 100644 (file)
@@ -1,3 +1,7 @@
+2014-05-18  Andreas Schwab  <schwab@suse.de>
+
+       * gcc.target/ia64/visibility-1.c (variable_l): Add used attribute.
+
 2014-05-17  Jerry DeLisle  <jvdelisle@gcc.gnu>
 
        PR libfortran/52539
index 354f081..8a7a43f 100644 (file)
@@ -15,7 +15,7 @@ static int variable_i __attribute__ ((used));
 int variable_j __attribute__((visibility ("hidden")));
 int variable_k;
 struct A { char a[64]; };
-static struct A variable_l __attribute__((section (".sbss")));
+static struct A variable_l __attribute__((used, section (".sbss")));
 struct A variable_m __attribute__((visibility ("hidden"), section(".sbss")));
 struct A variable_n __attribute__((section (".sbss")));