summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-14 16:33:16 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-14 16:33:16 +0000
commit14142e987e4d72bedd5c4c765768630a123c089c (patch)
tree0c04aef50e50b4e6e4619865dbe21d465495c7db
parent81f73fbc183959d0b751e23552c40dd2b8d75a52 (diff)
downloadgcc-14142e987e4d72bedd5c4c765768630a123c089c.tar.gz
* gcc.target/i386/funcspec-1.c: Remove static keywords to prevent
folding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164283 138bc75d-0d04-0410-961f-82ee72b054a4
-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")));