https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80988
Thomas Koenig changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80988
--- Comment #6 from Thomas Koenig ---
Author: tkoenig
Date: Sat Jun 10 10:07:13 2017
New Revision: 249092
URL: https://gcc.gnu.org/viewcvs?rev=249092=gcc=rev
Log:
2017-06-10 Thomas Koenig
PR fortran/80988
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80988
--- Comment #5 from Thomas Koenig ---
Simple test case:
$ cat swim.f90
program main
implicit none
integer :: i,j
integer, dimension(3,3) :: a
a = reshape([(((i*10+j),i=1,3),j=1,3)], shape(a))
print *,(a(i,i),i=1,3)
end program main
$
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80988
Richard Biener changed:
What|Removed |Added
Status|WAITING |NEW
--- Comment #4 from Richard Biener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80988
--- Comment #3 from Thomas Koenig ---
(In reply to Jerry DeLisle from comment #2)
> Try compiling with -fno-frontend-optimize to confirm.
... and if this fixes the problem (assuming it is in foo.f90),
do the following:
$ gfortran -c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80988
Jerry DeLisle changed:
What|Removed |Added
CC||jvdelisle at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80988
Thomas Koenig changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|