funcspec-1.c: Remove static keywords to prevent folding.
authorJan Hubicka <jh@suse.cz>
Tue, 14 Sep 2010 16:33:16 +0000 (18:33 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 14 Sep 2010 16:33:16 +0000 (16:33 +0000)
* gcc.target/i386/funcspec-1.c: Remove static keywords to prevent
folding.

From-SVN: r164283

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/funcspec-1.c

index 14904a89a71c2aa6a659fad17c893de58e9d0f75..e5936b36998a2e73dd6099e7b4a4f372b651f1c9 100644 (file)
@@ -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>
 
index 52420ec93e9589df578f6a6675bf5009d426464a..bd8e67d0c12d02503c59f0da7ae4288f9307054b 100644 (file)
@@ -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")));