Commit 220f44b7 by Andreas Schwab Committed by Andreas Schwab

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

From-SVN: r210545
parent a1242f17
2014-05-17 Andreas Schwab <schwab@suse.de>
* gcc.target/ia64/visibility-1.c (variable_i): Add used attribute.
2014-05-16 David Malcolm <dmalcolm@redhat.com> 2014-05-16 David Malcolm <dmalcolm@redhat.com>
Revert: Revert:
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
/* { dg-final { scan-assembler "gprel.*variable_m" } } */ /* { dg-final { scan-assembler "gprel.*variable_m" } } */
/* { dg-final { scan-assembler "ltoff.*variable_n" } } */ /* { dg-final { scan-assembler "ltoff.*variable_n" } } */
static int variable_i; static int variable_i __attribute__ ((used));
int variable_j __attribute__((visibility ("hidden"))); int variable_j __attribute__((visibility ("hidden")));
int variable_k; int variable_k;
struct A { char a[64]; }; struct A { char a[64]; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment