From a9dd01128345466fa7c07e76f827b5c43261f07b Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 18 May 2014 07:25:33 +0000 Subject: [PATCH] * gcc.target/ia64/visibility-1.c (variable_l): Add used attribute. From-SVN: r210579 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/ia64/visibility-1.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8dce3ecb611..fbb18caaf7b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-05-18 Andreas Schwab + + * gcc.target/ia64/visibility-1.c (variable_l): Add used attribute. + 2014-05-17 Jerry DeLisle PR libfortran/52539 diff --git a/gcc/testsuite/gcc.target/ia64/visibility-1.c b/gcc/testsuite/gcc.target/ia64/visibility-1.c index 354f0813268..8a7a43f9a3a 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")));