This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/82009] [F08] ICE with block construct


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]