public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/42451]  New: 'warning: type of "array" does not match original declaration' with -flto/-fwhopr
@ 2009-12-21 19:06 zsojka at seznam dot cz
  2009-12-21 19:06 ` [Bug lto/42451] " zsojka at seznam dot cz
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: zsojka at seznam dot cz @ 2009-12-21 19:06 UTC (permalink / raw)
  To: gcc-bugs

Command line:
g++ B.ii C.ii -fPIC -shared -flto
or
g++ B.ii C.ii -fPIC -shared -fwhopr

Tested revisions:
r155363 - warns
r155248 - warns
r155141 - warns
r154886 - warns


Output (r155363, r155248):
$ /mnt/svn/gcc-trunk/binary-155363-lto/bin/g++ B.ii C.ii -fPIC -shared -fwhopr
header.hpp:10:19: warning: type of ‘array’ does not match original
declaration
B.cpp:7:14: note: previously declared here


Output (r155141, r154886):
$ /mnt/svn/gcc-trunk/binary-155141-lto-checking-release/bin/g++ B.ii C.ii -fPIC
-shared -fwhopr
header.hpp:10:19: warning: type of ‘array’ does not match original
declaration
B.cpp:7:14: note: previously declared here
/tmp/cclAkKXS.wpa.ltrans.o:(.bss._ZN1B5arrayE[_ZN1B5arrayE]+0x0): multiple
definition of `_ZN1B5arrayE'
/tmp/ccv6HwKA.wpa.ltrans.o:(.bss+0x20): first defined here
/tmp/cclAkKXS.wpa.ltrans.o:(.bss.c[c]+0x0): multiple definition of `c'
/tmp/ccv6HwKA.wpa.ltrans.o:(.bss+0x0): first defined here
collect2: ld returned 1 exit status


-- 
           Summary: 'warning: type of "array" does not match original
                    declaration' with -flto/-fwhopr
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu


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


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

end of thread, other threads:[~2010-07-22 13:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-21 19:06 [Bug lto/42451] New: 'warning: type of "array" does not match original declaration' with -flto/-fwhopr zsojka at seznam dot cz
2009-12-21 19:06 ` [Bug lto/42451] " zsojka at seznam dot cz
2009-12-21 19:07 ` zsojka at seznam dot cz
2009-12-21 20:19 ` zsojka at seznam dot cz
2009-12-25 18:42 ` zsojka at seznam dot cz
2010-02-17  1:07 ` zsojka at seznam dot cz
2010-03-01 12:47 ` d dot g dot gorbachev at gmail dot com
2010-04-23 16:04 ` rguenth at gcc dot gnu dot org
2010-06-01 19:23 ` zsojka at seznam dot cz
2010-07-20 14:21 ` rguenth at gcc dot gnu dot org
2010-07-22 13:48 ` rguenth at gcc dot gnu dot org
2010-07-22 13:49 ` rguenth 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).