public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/25097]  New: better diagnostic needed
@ 2005-11-26 18:07 jv244 at cam dot ac dot uk
  2005-11-30 12:49 ` [Bug fortran/25097] Component of optional argument allowed as arg. to PRESENT 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 18:07 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
  TYPE T1
   INTEGER :: I
  END TYPE T1
 CONTAINS
  SUBROUTINE S1(D1)
   TYPE(T1), OPTIONAL :: D1
   write(6,*) PRESENT(D1%I)
  END SUBROUTINE S1
 END MODULE
 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=25097


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

end of thread, other threads:[~2007-10-04 20:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-26 18:07 [Bug fortran/25097] New: better diagnostic needed jv244 at cam dot ac dot uk
2005-11-30 12:49 ` [Bug fortran/25097] Component of optional argument allowed as arg. to PRESENT eedelman at gcc dot gnu dot org
2006-01-13 18:40 ` pinskia at gcc dot gnu dot org
2006-07-11 16:10 ` patchapp at dberlin dot org
2006-07-13  5:08 ` pault at gcc dot gnu dot org
2006-07-16 17:18 ` pault at gcc dot gnu dot org
2006-07-16 17:21 ` pault at gcc dot gnu dot org
2007-10-04 20:37 ` patchapp at dberlin 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).