This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25685] New: Accepts invalid code for Fortran 90
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jan 2006 04:38:47 -0000
- Subject: [Bug fortran/25685] New: Accepts invalid code for Fortran 90
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code is invalid code but it is valid F95 code:
subroutine a(p)
type t
integer :: t1
end type
type(t) :: p
p%t1 = 42
end subroutine
------
lahey's fortran front-end gives:
FATAL -- Derived-type dummy argument must be accessed by use or host
association or have the
SEQUENCE property (see "SEQUENCE Statement" in your Fortran 90 language
reference).
--
Summary: Accepts invalid code for Fortran 90
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25685