public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19359] New: [gfortran] MODULE PROCEDURE interface improperly resolved
@ 2005-01-10 12:37 steven at gcc dot gnu dot org
  2005-01-10 15:09 ` [Bug fortran/19359] " pinskia at gcc dot gnu dot org
  2005-01-11  0:18 ` steven at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-01-10 12:37 UTC (permalink / raw)
  To: gcc-bugs

The following valid code from a SPEC benchmark candidate results 
in an error because bar_ is not resolved to bar: 
 
     1  MODULE fubar 
     2     IMPLICIT NONE 
     3     PRIVATE bar_ 
     4     INTERFACE bar_ 
     5        MODULE PROCEDURE bar 
     6     END INTERFACE 
     7  CONTAINS 
     8     SUBROUTINE foo(i) 
     9        INTEGER :: i 
    10        i = bar_(i) 
    11     END SUBROUTINE foo 
    12     FUNCTION bar (i) 
    13       INTEGER :: i, bar 
    14       bar = i 
    15     END FUNCTION bar 
    16  END MODULE fubar 
 
 
 In file f.F90:13 
 
      i = bar_(i) 
             1 
Error: Symbol 'bar_' at (1) has no IMPLICIT type

-- 
           Summary: [gfortran] MODULE PROCEDURE interface improperly
                    resolved
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steven at gcc dot gnu dot org
                CC: aj at suse dot de,gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/19359] [gfortran] MODULE PROCEDURE interface improperly resolved
  2005-01-10 12:37 [Bug fortran/19359] New: [gfortran] MODULE PROCEDURE interface improperly resolved steven at gcc dot gnu dot org
@ 2005-01-10 15:09 ` pinskia at gcc dot gnu dot org
  2005-01-11  0:18 ` steven at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-10 15:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-10 15:09 -------
Confirmed but I think this is a dup of bug 18108 though.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |15502
              nThis|                            |
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-10 15:09:47
               date|                            |


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


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

* [Bug fortran/19359] [gfortran] MODULE PROCEDURE interface improperly resolved
  2005-01-10 12:37 [Bug fortran/19359] New: [gfortran] MODULE PROCEDURE interface improperly resolved steven at gcc dot gnu dot org
  2005-01-10 15:09 ` [Bug fortran/19359] " pinskia at gcc dot gnu dot org
@ 2005-01-11  0:18 ` steven at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-01-11  0:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2005-01-11 00:17 -------
Yes, that's definitely a dup. 

*** This bug has been marked as a duplicate of 18108 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2005-01-11  0:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-10 12:37 [Bug fortran/19359] New: [gfortran] MODULE PROCEDURE interface improperly resolved steven at gcc dot gnu dot org
2005-01-10 15:09 ` [Bug fortran/19359] " pinskia at gcc dot gnu dot org
2005-01-11  0:18 ` steven 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).