[Bug fortran/57129] [8/9/10 Regression] Improve error message for conflicts between PROCEDURE and DERIVED.
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 13 20:55:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57129
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #18 from anlauf at gcc dot gnu.org ---
The error message emitted for the code in comment#0 is:
z0.f90:2:8:
2 | type t
| 1
Error: FUNCTION attribute conflicts with SUBROUTINE attribute in 't' at (1)
z0.f90:3:5:
3 | end type t
| 1
Error: Expecting END SUBROUTINE statement at (1)
z0.f90:4:19:
4 | type, extends(t) :: t2
| 1
Error: Symbol 't' at (1) has not been previously defined
z0.f90:5:5:
5 | end type t2
| 1
Error: Expecting END SUBROUTINE statement at (1)
Is there anything left to do?
More information about the Gcc-bugs
mailing list