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/88072] gfortran crashes with an internal compiler error


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-11-17
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from 4.9 up to trunk. 4.8 gives errors

pr88072.f90:10.18:

         PROCEDURE :: f => f2
                  1
Error: Result mismatch for the overriding procedure 'f' at (1): Type/rank
mismatch in function result
pr88072.f90:8.34:

   TYPE, EXTENDS(t1), PUBLIC :: t2
                                  1
Error: Derived-type 't2' declared at (1) must be ABSTRACT because 'f' is
DEFERRED and not overridden
pr88072.f90:13.6:

      FUNCTION f1(this)
      1
Error: CLASS variable 'f1' at (1) must be dummy, allocatable or pointer
pr88072.f90:8.34:

   TYPE, EXTENDS(t1), PUBLIC :: t2
                                  1
Error: Derived-type 't2' declared at (1) must be ABSTRACT because 'f' is
DEFERRED and not overridden
pr88072.f90:8.34:

   TYPE, EXTENDS(t1), PUBLIC :: t2
                                  1
Error: Derived-type 't2' declared at (1) must be ABSTRACT because 'f' is
DEFERRED and not overridden

No idea if they are right or not.

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