diff options
author | Andreas Schwab <schwab@suse.de> | 2014-05-18 07:25:33 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 2014-05-18 07:25:33 +0000 |
commit | a9dd01128345466fa7c07e76f827b5c43261f07b (patch) | |
tree | 523e0d974f39412ab89a17f2e9edbd5a18a58645 /gcc | |
parent | 16f8dfdb794d83778f714722e3b31f5e7357fcd1 (diff) | |
download | gcc-a9dd01128345466fa7c07e76f827b5c43261f07b.zip gcc-a9dd01128345466fa7c07e76f827b5c43261f07b.tar.gz gcc-a9dd01128345466fa7c07e76f827b5c43261f07b.tar.bz2 |
* gcc.target/ia64/visibility-1.c (variable_l): Add used attribute.
From-SVN: r210579
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/ia64/visibility-1.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8dce3ec..fbb18ca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.target/ia64/visibility-1.c b/gcc/testsuite/gcc.target/ia64/visibility-1.c index 354f0813..8a7a43f 100644 --- a/gcc/testsuite/gcc.target/ia64/visibility-1.c +++ b/gcc/testsuite/gcc.target/ia64/visibility-1.c @@ -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"))); |