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/57129] [4.7/4.8/4.9 Regression] ICE (segfault) in check_extended_derived_type


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57129

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> On darwin12/13 I don't get the ICE even for r201916.

I don't know what I did. After rechecking I found that r202804 gives the ICE
and r202825 does not.

The error is now

pr57129.f90:2.8:

  type t
        1
Error: FUNCTION attribute conflicts with SUBROUTINE attribute in 't' at (1)
pr57129.f90:3.5:

  end type t
     1
Error: Expecting END SUBROUTINE statement at (1)
pr57129.f90:4.18:

  type, extends(t) :: t2
                  1
Error: Symbol 't' at (1) has not been previously defined
pr57129.f90:5.5:

  end type t2
     1
Error: Expecting END SUBROUTINE statement at (1)

The errors such as

Error: Symbol 't' at (1) has not been previously defined

comes from r202823.

So r202823 is likely to have fixed this PR.


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