This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16404] should reject invalid code with -pedantic -std=f95 ? (x8)
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2005 21:52:19 -0000
- Subject: [Bug fortran/16404] should reject invalid code with -pedantic -std=f95 ? (x8)
- References: <20040707093303.16404.jv244@cam.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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