public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/25093]  New: better diagnostic needed
@ 2005-11-26 18:05 jv244 at cam dot ac dot uk
  2005-11-30 12:37 ` [Bug fortran/25093] PUBLIC function of PRIVATE type eedelman at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jv244 at cam dot ac dot uk @ 2005-11-26 18:05 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
 PRIVATE :: T1
 PUBLIC  :: F1
CONTAINS
 TYPE(T1) FUNCTION F1()
 END FUNCTION
END MODULE

 USE M1
 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=25093


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

end of thread, other threads:[~2006-01-28 21:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-26 18:05 [Bug fortran/25093] New: better diagnostic needed jv244 at cam dot ac dot uk
2005-11-30 12:37 ` [Bug fortran/25093] PUBLIC function of PRIVATE type eedelman at gcc dot gnu dot org
2006-01-08  0:14 ` eedelman at gcc dot gnu dot org
2006-01-08 17:53 ` eedelman at gcc dot gnu dot org
2006-01-09 16:19 ` eedelman at gcc dot gnu dot org
2006-01-09 16:21 ` eedelman at gcc dot gnu dot org
2006-01-28 21:15 ` 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).