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

Reply via email to