public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/25685] New: Accepts invalid code for Fortran 90
@ 2006-01-06 4:38 pinskia at gcc dot gnu dot org
2006-01-22 0:56 ` [Bug fortran/25685] " kargl at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-06 4:38 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/25685] Accepts invalid code for Fortran 90
2006-01-06 4:38 [Bug fortran/25685] New: Accepts invalid code for Fortran 90 pinskia at gcc dot gnu dot org
@ 2006-01-22 0:56 ` kargl at gcc dot gnu dot org
2006-01-22 1:03 ` pinskia at gcc dot gnu dot org
2006-02-11 21:20 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: kargl at gcc dot gnu dot org @ 2006-01-22 0:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from kargl at gcc dot gnu dot org 2006-01-22 00:56 -------
Andrew,
Are you sure? NAG's compiler compiles the code, as does gfortran.
Lahey's checker when I gave it the code gives
Lahey/Fujitsu Fortran 95 Source Check Output
Compiling program unit a at line 1:
Encountered 0 errors, 0 warnings, 0 informations in file SOURCE.F90.
Compiling file SOURCE.F90.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25685
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/25685] Accepts invalid code for Fortran 90
2006-01-06 4:38 [Bug fortran/25685] New: Accepts invalid code for Fortran 90 pinskia at gcc dot gnu dot org
2006-01-22 0:56 ` [Bug fortran/25685] " kargl at gcc dot gnu dot org
@ 2006-01-22 1:03 ` pinskia at gcc dot gnu dot org
2006-02-11 21:20 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-22 1:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-22 01:03 -------
(In reply to comment #1)
> Andrew,
> Are you sure? NAG's compiler compiles the code, as does gfortran.
> Lahey's checker when I gave it the code gives
> Lahey/Fujitsu Fortran 95 Source Check Output
This was from Lahey's Fortran 90 compiler. I think it is valid F95 but invalid
F90.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25685
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/25685] Accepts invalid code for Fortran 90
2006-01-06 4:38 [Bug fortran/25685] New: Accepts invalid code for Fortran 90 pinskia at gcc dot gnu dot org
2006-01-22 0:56 ` [Bug fortran/25685] " kargl at gcc dot gnu dot org
2006-01-22 1:03 ` pinskia at gcc dot gnu dot org
@ 2006-02-11 21:20 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-11 21:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-11 21:20 -------
Actually this is still a dup of bug 22571.
*** This bug has been marked as a duplicate of 22571 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25685
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-11 21:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-06 4:38 [Bug fortran/25685] New: Accepts invalid code for Fortran 90 pinskia at gcc dot gnu dot org
2006-01-22 0:56 ` [Bug fortran/25685] " kargl at gcc dot gnu dot org
2006-01-22 1:03 ` pinskia at gcc dot gnu dot org
2006-02-11 21:20 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).