public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/23270] New: Undefined reference to module blank common variable
@ 2005-08-07  5:54 pault at gcc dot gnu dot org
  2005-08-07  6:00 ` [Bug fortran/23270] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pault at gcc dot gnu dot org @ 2005-08-07  5:54 UTC (permalink / raw)
  To: gcc-bugs

! ld error - undefined reference to `__test_equiv_a'
! OK with ifc
!
module test_equiv
  common a
  real    a
end module test_equiv
program module_equiv
  use test_equiv
  a = 999.0_4
end program module_equiv

[prt@localhost mytests]# /gcc-4.1/bin/gfortran  -std=f95 module_equivalence_pr.f90
/tmp/cc0RTDPI.o(.text+0x9): In function `MAIN__':
: undefined reference to `__test_equiv__a'
collect2: ld returned 1 exit status

-- 
           Summary: Undefined reference to module blank common variable
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pault at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-07  5:54 [Bug fortran/23270] New: Undefined reference to module blank common variable pault at gcc dot gnu dot org
2005-08-07  6:00 ` [Bug fortran/23270] " pinskia at gcc dot gnu dot org
2005-09-09  0:25 ` cvs-commit at gcc dot gnu dot org
2005-09-09  9:07 ` cvs-commit 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).