Message ID | 20100914162838.GD22498@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Hi, this fixes the other testcase. I am affraid that empty consturctor folding actually caused more testsuite fuzz than real world change (we probably now fold some more testcases to nothing), but hope we did not lost too much of coverage. Honza Index: gcc.target/i386/funcspec-1.c =================================================================== *** gcc.target/i386/funcspec-1.c (revision 164250) --- gcc.target/i386/funcspec-1.c (working copy) *************** *** 12,20 **** #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))); void sse_addnums (void) __attribute__ ((__target__ ("sse2"))); --- 12,20 ---- #define SIZE 1024 #endif ! 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"))); Index: ChangeLog =================================================================== *** ChangeLog (revision 164282) --- ChangeLog (working copy) *************** *** 2,7 **** --- 2,9 ---- * 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: ChangeLog =================================================================== --- ChangeLog (revision 164281) +++ ChangeLog (working copy) @@ -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 Index: gfortran.dg/vect/fast-math-pr38968.f90 =================================================================== --- gfortran.dg/vect/fast-math-pr38968.f90 (revision 164250) +++ gfortran.dg/vect/fast-math-pr38968.f90 (working copy) @@ -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