Commit f82f5289 by James E Wilson Committed by Jim Wilson

re PR testsuite/35512 (gcc.target/ia64/visibility-1.c)

PR testsuite/35512
* gcc.target/ia64/visibility-1.c (foo): Change return type to void.
Write variables instead of reading them.

From-SVN: r133301
parent 3d574e5b
2008-03-17 James E. Wilson <wilson@tuliptree.org>
PR testsuite/35512
* gcc.target/ia64/visibility-1.c (foo): Change return type to void.
Write variables instead of reading them.
2008-03-17 Jason Merrill <jason@redhat.com> 2008-03-17 Jason Merrill <jason@redhat.com>
PR c++/35548 PR c++/35548
...@@ -19,9 +19,11 @@ static struct A variable_l __attribute__((section (".sbss"))); ...@@ -19,9 +19,11 @@ static struct A variable_l __attribute__((section (".sbss")));
struct A variable_m __attribute__((visibility ("hidden"), section(".sbss"))); struct A variable_m __attribute__((visibility ("hidden"), section(".sbss")));
struct A variable_n __attribute__((section (".sbss"))); struct A variable_n __attribute__((section (".sbss")));
int foo (void) void foo (void)
{ {
return variable_i + variable_j + variable_k; variable_i = 0;
variable_j = 0;
variable_k = 0;
} }
void bar (void) void bar (void)
......
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