[Bug fortran/16404] should reject invalid code with -pedantic -std=f95 ? (x8)
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 18 21:52:00 GMT 2005
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-06-18 21:52 -------
Since number 2 is already reported, we only have 3 and 6 left:
! test 3
REAL :: A
REAL, TARGET :: B
EQUIVALENCE(A,B)
END
! test 6
! If component of public derived type 'all_type' of type is declared to be
! private, derived type definition must contain PRIVATE statement.
MODULE TEST
PRIVATE
TYPE info_type
INTEGER :: value
END TYPE info_type
TYPE all_type
TYPE(info_type) :: info
END TYPE
PUBLIC :: all_type
END MODULE
END
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-06-12 03:38:34 |2005-06-18 21:52:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16404
More information about the Gcc-bugs
mailing list