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/59024] ICE: after printing certain error messages, the compiler seg faults.


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

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
AFAICT the errors with the trunk (5.0) are now

pr59024.f90:6.6:

  TYPE tc
      1
Error: Syntax error in PUBLIC statement at (1)
pr59024.f90:7.5:

  END TYPE tc
     1
Error: Expecting END MODULE statement at (1)
pr59024.f90:15.12:

    TYPE(tc) t
            1
Error: Derived type 'tc' at (1) is being used before it is defined
pr59024.f90:17.14:

END MODULE mtc
              1
Error: Procedure 'C_PTR_1' in generic interface 'tc' at (1) is neither function
nor subroutine

without any ICE. The change of behavior occurred between revisions r214073
(2014-08-17, ICE) and r214113 (2014-08-18, error). A candidate could be
r214076, but I don't see why.

Unless someone objects I'll close this PR as fixed in a week.


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