[Bug fortran/34884] [4.3 Regression] gfortran.dg/array_constructor_9.f90

2008-01-20 Thread dominiq at lps dot ens dot fr


--- Comment #2 from dominiq at lps dot ens dot fr  2008-01-20 10:52 ---
Fails also at '-O2 -funroll-loops', but not if I add

return
10  print *, i, j, k, values (last)

before

  end subroutine test


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34884



[Bug fortran/34884] [4.3 Regression] gfortran.dg/array_constructor_9.f90

2008-01-20 Thread dominiq at lps dot ens dot fr


--- Comment #1 from dominiq at lps dot ens dot fr  2008-01-20 10:35 ---
Confirmed and it is a wierd regression: the test pass with '-O3' alone, but not
with '-O3 -funroll-loops'. In addition if I replace the line

  if (values (last) .ne. j + k * k) call abort

by

  if (values (last) .ne. j + k * k) print *, i, j, k, values (last)

the test pass without printing anything.

It looks as a middle-end regression between revs. 131660 and 131671.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34884



[Bug fortran/34884] [4.3 Regression] gfortran.dg/array_constructor_9.f90

2008-01-20 Thread dominiq at lps dot ens dot fr


--- Comment #3 from dominiq at lps dot ens dot fr  2008-01-20 11:31 ---
The failure comes in the first call of 'test()' at i=order, j=2. The values
tested in the k loop seems to be:

5.000  10.000   3.000   6.000   11.00  
4.000   7.000   12.00   5.000

instead of

3.000   6.000   11.00   18.00   27.00  
38.00   51.00   66.00   83.00

The outputs of -ftree-dump-optimized are identical for revs. 131628 and 131676.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34884



[Bug fortran/34884] [4.3 Regression] gfortran.dg/array_constructor_9.f90

2008-01-20 Thread dominiq at lps dot ens dot fr


--- Comment #4 from dominiq at lps dot ens dot fr  2008-01-20 12:04 ---
Worked with rev. 131669, fails with 131671. Rev. 131670 seems the most likely,
added Kenneth Zadeck to the cc list.


-- 

dominiq at lps dot ens dot fr changed:

   What|Removed |Added

 CC||zadeck at naturalbridge dot
   ||com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34884



[Bug fortran/34884] [4.3 Regression] gfortran.dg/array_constructor_9.f90

2008-01-20 Thread hjl dot tools at gmail dot com


--- Comment #13 from hjl dot tools at gmail dot com  2008-01-20 15:57 
---
It happens for me on Linux/Intel64 with -m32:

http://gcc.gnu.org/ml/gcc-testresults/2008-01/msg00907.html

My configuration is

configure flags: --enable-clocale=gnu --with-system-zlib
--enable-decimal-float=bid --with-demangler-in-ld --enable-shared
--enable-threads=posix --enable-haifa --enable-checking=assert
--prefix=/usr/gcc-4.3 --with-local-prefix=/usr/local


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

  Component|middle-end  |fortran
   Target Milestone|4.3.0   |---


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34884



[Bug fortran/34884] [4.3 Regression] gfortran.dg/array_constructor_9.f90

2008-01-20 Thread zadeck at naturalbridge dot com


--- Comment #14 from zadeck at naturalbridge dot com  2008-01-20 18:30 
---
confirmed on my machine,
i will have my best people work on it.

kenny


-- 

zadeck at naturalbridge dot com changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |zadeck at naturalbridge dot
   |dot org |com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34884