summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog2
-rw-r--r--gcc/testsuite/gcc.target/i386/funcspec-1.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 14904a89a71..e5936b36998 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -2,6 +2,8 @@
* gfortran.dg/vect/fast-math-pr38968.f90: Add common to prevent
folding.
+ * gcc.target/i386/funcspec-1.c: Remove static keywords to prevent
+ folding.
2010-09-14 Jakub Jelinek <jakub@redhat.com>
diff --git a/gcc/testsuite/gcc.target/i386/funcspec-1.c b/gcc/testsuite/gcc.target/i386/funcspec-1.c
index 52420ec93e9..bd8e67d0c12 100644
--- a/gcc/testsuite/gcc.target/i386/funcspec-1.c
+++ b/gcc/testsuite/gcc.target/i386/funcspec-1.c
@@ -12,9 +12,9 @@
#define SIZE 1024
#endif
-static float a[SIZE] __attribute__((__aligned__(16)));
-static float b[SIZE] __attribute__((__aligned__(16)));
-static float c[SIZE] __attribute__((__aligned__(16)));
+float a[SIZE] __attribute__((__aligned__(16)));
+float b[SIZE] __attribute__((__aligned__(16)));
+float c[SIZE] __attribute__((__aligned__(16)));
void sse_addnums (void) __attribute__ ((__target__ ("sse2")));