* gcc.target/ia64/visibility-1.c (variable_l): Add used attribute.

From-SVN: r210579
This commit is contained in:
Andreas Schwab 2014-05-18 07:25:33 +00:00 committed by Andreas Schwab
parent 16f8dfdb79
commit a9dd011283
2 changed files with 5 additions and 1 deletions

View 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

View 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")));