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