public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20836] New: error needed
@ 2005-04-08 15:49 jv244 at cam dot ac dot uk
  2005-04-09 19:00 ` [Bug fortran/20836] " fxcoudert at gcc dot gnu dot org
  2005-07-09  2:45 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: jv244 at cam dot ac dot uk @ 2005-04-08 15:49 UTC (permalink / raw)
  To: gcc-bugs

The following is non-standard and the compiler should probably generate a
warning/error with '-pedantic -std=f95'

MODULE TEST
  PRIVATE
  TYPE info_type
   INTEGER :: value
  END TYPE info_type
  TYPE all_type
    TYPE(info_type) :: info
  END TYPE
  PUBLIC :: all_type
END MODULE
END

-- 
           Summary: error needed
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug fortran/20836] error needed
  2005-04-08 15:49 [Bug fortran/20836] New: error needed jv244 at cam dot ac dot uk
@ 2005-04-09 19:00 ` fxcoudert at gcc dot gnu dot org
  2005-07-09  2:45 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-04-09 19:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-04-09 19:00 -------
Confirmed and marked as minor.

For info, Intel compiler says:
"Component INFO of PUBLIC type ALL_TYPE cannot have a type that is PRIVATE"

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-09 19:00:33
               date|                            |


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


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

* [Bug fortran/20836] error needed
  2005-04-08 15:49 [Bug fortran/20836] New: error needed jv244 at cam dot ac dot uk
  2005-04-09 19:00 ` [Bug fortran/20836] " fxcoudert at gcc dot gnu dot org
@ 2005-07-09  2:45 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-09  2:45 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
   Last reconfirmed|2005-04-09 19:00:33         |2005-07-09 01:41:10
               date|                            |


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


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

end of thread, other threads:[~2005-07-09  1:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-08 15:49 [Bug fortran/20836] New: error needed jv244 at cam dot ac dot uk
2005-04-09 19:00 ` [Bug fortran/20836] " fxcoudert at gcc dot gnu dot org
2005-07-09  2:45 ` 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).