This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/82009] [F08] ICE with block construct
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Aug 2017 18:58:28 +0000
- Subject: [Bug fortran/82009] [F08] ICE with block construct
- Auto-submitted: auto-generated
- References: <bug-82009-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82009
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-08-28
CC| |janus at gcc dot gnu.org
Summary|ICE with block construct |[F08] ICE with block
| |construct
Ever confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org ---
Confirmed. ICEs with every gfortran version I tried, from 4.7 up to trunk.
Slight reduction:
MODULE csx
IMPLICIT NONE
CONTAINS
SUBROUTINE csr
block
end block
END
SUBROUTINE csc
WRITE(*,*) 'An*x: t'
block
integer, dimension(1), parameter :: idxs=[1]
print *, idxs(1)
end block
END
END