public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/23217] New: incorrect error on use only statement
@ 2005-08-03 17:02 dir at lanl dot gov
  2005-08-03 19:54 ` [Bug fortran/23217] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dir at lanl dot gov @ 2005-08-03 17:02 UTC (permalink / raw)
  To: gcc-bugs

None of my other compiler even give a warning on this program -


[dranta:~/tests/gfortran-D] dir% xlf95 -o only -qsuffix=f=f90 only.f90
** define_kind   === End of Compilation 1 ===
** main   === End of Compilation 2 ===
1501-510  Compilation successful for file only.f90.
[dranta:~/tests/gfortran-D] dir% f90 -o only only.f90
[dranta:~/tests/gfortran-D] dir% gfortran -o only only.f90
 In file only.f90:5

       use define_kind,  only: pc,pl,pc
                                    1
Error: Symbol 'pc' referenced at (1) not found in module 'define_kind'
[dranta:~/tests/gfortran-D] dir% cat only.f90
       module define_kind
       integer, save  ::  pc , pl
       end module define_kind
       program main
       use define_kind,  only: pc,pl,pc
       stop
       end
       
[dranta:~/tests/gfortran-D] dir%

-- 
           Summary: incorrect error on use only statement
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dir at lanl dot gov
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-apple-darwin7.9.0


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


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

* [Bug fortran/23217] incorrect error on use only statement
  2005-08-03 17:02 [Bug fortran/23217] New: incorrect error on use only statement dir at lanl dot gov
@ 2005-08-03 19:54 ` pinskia at gcc dot gnu dot org
  2005-08-03 19:56 ` pinskia at gcc dot gnu dot org
  2005-09-09 22:17 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-03 19:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-03 19:54 -------
Confirmed, I think this is a dup of bug 18878 (it is at least related to PR 18878).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |18878
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-03 19:54:38
               date|                            |


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


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

* [Bug fortran/23217] incorrect error on use only statement
  2005-08-03 17:02 [Bug fortran/23217] New: incorrect error on use only statement dir at lanl dot gov
  2005-08-03 19:54 ` [Bug fortran/23217] " pinskia at gcc dot gnu dot org
@ 2005-08-03 19:56 ` pinskia at gcc dot gnu dot org
  2005-09-09 22:17 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-03 19:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-03 19:56 -------
Actually it is a dup of bug 18878, the problem is that gfortran does not like the use of the same 
variable listed twice, this is still a bug.

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

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


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


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

* [Bug fortran/23217] incorrect error on use only statement
  2005-08-03 17:02 [Bug fortran/23217] New: incorrect error on use only statement dir at lanl dot gov
  2005-08-03 19:54 ` [Bug fortran/23217] " pinskia at gcc dot gnu dot org
  2005-08-03 19:56 ` pinskia at gcc dot gnu dot org
@ 2005-09-09 22:17 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-09 22:17 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 23217 depends on bug 18878, which changed state.

Bug 18878 Summary: [4.0 only] erronous error message on vaild USE statement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18878

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

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


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

end of thread, other threads:[~2005-09-09 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-03 17:02 [Bug fortran/23217] New: incorrect error on use only statement dir at lanl dot gov
2005-08-03 19:54 ` [Bug fortran/23217] " pinskia at gcc dot gnu dot org
2005-08-03 19:56 ` pinskia at gcc dot gnu dot org
2005-09-09 22:17 ` 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).