public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/25077]  New: better diagnostic needed
@ 2005-11-26 17:57 jv244 at cam dot ac dot uk
  2005-11-28 21:57 ` [Bug fortran/25077] No error on attempt to redefine intrinsic assigments eedelman at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jv244 at cam dot ac dot uk @ 2005-11-26 17:57 UTC (permalink / raw)
  To: gcc-bugs

using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease)  with '-g -pedantic
-std=f95', I get a bad / no diagnostic for the following invalid code:

MODULE M1
 IMPLICIT NONE
 INTERFACE ASSIGNMENT(=)
  MODULE PROCEDURE T1
 END INTERFACE
CONTAINS
 SUBROUTINE T1(I,J)
   INTEGER, INTENT(OUT)  :: I
   INTEGER, INTENT(IN)  :: J
   I=-J
 END SUBROUTINE T1
END MODULE M1

USE M1
IMPLICIT NONE
INTEGER :: I,J
I=1
J=I
write(6,*) I,J
END


-- 
           Summary: better diagnostic needed
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25077


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-08-30  5:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-26 17:57 [Bug fortran/25077] New: better diagnostic needed jv244 at cam dot ac dot uk
2005-11-28 21:57 ` [Bug fortran/25077] No error on attempt to redefine intrinsic assigments eedelman at gcc dot gnu dot org
2006-08-19 17:01 ` pault at gcc dot gnu dot org
2006-08-20  6:05 ` patchapp at dberlin dot org
2006-08-20  7:33 ` patchapp at dberlin dot org
2006-08-30  5:20 ` pault at gcc dot gnu dot org
2006-08-30  5:20 ` pault at gcc dot gnu dot org
2006-08-30  5:32 ` pault 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).