public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20880] New: error needed
@ 2005-04-08 16:01 jv244 at cam dot ac dot uk
  2005-05-12  8:32 ` [Bug fortran/20880] " fxcoudert at gcc dot gnu dot org
  2005-09-30 20:43 ` 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 16:01 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_mod
interface
  subroutine my_sub (a)
    real a
  end subroutine
end interface
end module
                                                                               
                                                       
subroutine my_sub (a)
  use test_mod
  real a
  print *, a
end subroutine
                                                                               
                                                       
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=20880


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

* [Bug fortran/20880] error needed
  2005-04-08 16:01 [Bug fortran/20880] New: error needed jv244 at cam dot ac dot uk
@ 2005-05-12  8:32 ` fxcoudert at gcc dot gnu dot org
  2005-09-30 20:43 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-05-12  8:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-05-12 08:32 -------
Confirmed.

Lahey says "line 11: Interface block which is use associated by this USE
statement containing an interface body for procedure 'my_sub' defined by this
subprogram is not standard-conforming."


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-12 08:32:31
               date|                            |


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


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

* [Bug fortran/20880] error needed
  2005-04-08 16:01 [Bug fortran/20880] New: error needed jv244 at cam dot ac dot uk
  2005-05-12  8:32 ` [Bug fortran/20880] " fxcoudert at gcc dot gnu dot org
@ 2005-09-30 20:43 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-30 20:43 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|i686-pc-linux-gnu           |
           Keywords|                            |accepts-invalid
   Last reconfirmed|2005-05-12 08:32:31         |2005-09-30 20:43:17
               date|                            |


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


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

end of thread, other threads:[~2005-09-30 20:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-08 16:01 [Bug fortran/20880] New: error needed jv244 at cam dot ac dot uk
2005-05-12  8:32 ` [Bug fortran/20880] " fxcoudert at gcc dot gnu dot org
2005-09-30 20:43 ` 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).