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/69524] [ICE] [F95] Compiler segfaults on simple testcase @ -O0


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69524

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
                 CC|                            |janus at gcc dot gnu.org
            Summary|[ICE] [F2008] Compiler      |[ICE] [F95] Compiler
                   |segfaults on simple         |segfaults on simple
                   |testcase @ -O0              |testcase @ -O0

--- Comment #1 from janus at gcc dot gnu.org ---
With gfortran 5.2.1, I do not get an ICE, but several errors, starting with:

      module subroutine A1(i)
     1
Error: Unclassifiable statement at (1)


The test case is certainly not valid Fortran. There is no "module subroutine"
statement (only a "module procedure" one).

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