public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/37193]  New: "USE mod, ONLY: i, i=>j" does not import "i"
@ 2008-08-21 19:10 burnus at gcc dot gnu dot org
  2008-08-22 12:00 ` [Bug fortran/37193] " jv244 at cam dot ac dot uk
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-08-21 19:10 UTC (permalink / raw)
  To: gcc-bugs

The following program is valid and compiles with g95, f95, ifort, ...
with gfortran it fails with:

i = 4
1
Error: Symbol 'i' at (1) has no IMPLICIT type


module m
  implicit none
  integer :: i
end module m

use m, only: i, j=>i, k=>i
implicit none
j = 5
k = 3
i = 4
if(i /= k .or. j /= k .or. i /= 4) stop 'ERROR'
end


-- 
           Summary: "USE mod, ONLY: i, i=>j" does not import "i"
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 32834
             nThis:


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


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

end of thread, other threads:[~2008-09-03 12:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-21 19:10 [Bug fortran/37193] New: "USE mod, ONLY: i, i=>j" does not import "i" burnus at gcc dot gnu dot org
2008-08-22 12:00 ` [Bug fortran/37193] " jv244 at cam dot ac dot uk
2008-08-29  4:43 ` [Bug fortran/37193] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
2008-08-29 12:34 ` jakub at gcc dot gnu dot org
2008-08-30 14:22 ` domob at gcc dot gnu dot org
2008-09-01 13:45 ` domob at gcc dot gnu dot org
2008-09-03 12:28 ` domob at gcc dot gnu dot org
2008-09-03 12:29 ` domob 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).