aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-09-14 18:27:15 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-09-14 16:27:15 +0000
commit92df1544e933bf75b598eee7de7b5b7770f0d2ca (patch)
treeaafd51fc982f5c1b395317cd658c9e4d181930be
parent4de264abe7bcecb709e4746715e5529527fedb6c (diff)
downloadgcc-92df1544e933bf75b598eee7de7b5b7770f0d2ca.zip
gcc-92df1544e933bf75b598eee7de7b5b7770f0d2ca.tar.gz
gcc-92df1544e933bf75b598eee7de7b5b7770f0d2ca.tar.bz2
fast-math-pr38968.f90: Add common to prevent folding.
* gfortran.dg/vect/fast-math-pr38968.f90: Add common to prevent folding. From-SVN: r164282
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gfortran.dg/vect/fast-math-pr38968.f901
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e7877fb..14904a8 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-14 Jan Hubicka <jh@suse.cz>
+
+ * gfortran.dg/vect/fast-math-pr38968.f90: Add common to prevent
+ folding.
+
2010-09-14 Jakub Jelinek <jakub@redhat.com>
PR middle-end/45567
diff --git a/gcc/testsuite/gfortran.dg/vect/fast-math-pr38968.f90 b/gcc/testsuite/gfortran.dg/vect/fast-math-pr38968.f90
index 29fafdb..e009f71 100644
--- a/gcc/testsuite/gfortran.dg/vect/fast-math-pr38968.f90
+++ b/gcc/testsuite/gfortran.dg/vect/fast-math-pr38968.f90
@@ -10,6 +10,7 @@ program mymatmul
complex(kp), dimension(n,n) :: a,b,c
real :: t1, t2
integer :: i, j, k
+ common // a,b,c
do j = 1, n
do k = 1, n