This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/41764] New: Bogus errors from gold with linker-plugin


PROGRAM INIRAN
      INTEGER IX, IY, IZ
      COMMON /XXXRAN/ IX, IY, IZ
      END
      BLOCKDATA RAEWIN
      INTEGER IX, IY, IZ
      COMMON /XXXRAN/ IX, IY, IZ
      DATA IX, IY, IZ / 1974, 235, 337 /
      END

> gfortran -c ranewr.f -flto
> gfortran ranewr.o -flto -use-linker-plugin
/usr/bin/gold: error: ranewr.o: multiple definition of iz
/usr/bin/gold: error: ranewr.o: previous definition here
/usr/bin/gold: error: ranewr.o: multiple definition of iy
/usr/bin/gold: error: ranewr.o: previous definition here
/usr/bin/gold: error: ranewr.o: multiple definition of ix
/usr/bin/gold: error: ranewr.o: previous definition here


-- 
           Summary: Bogus errors from gold with linker-plugin
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]