This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/42430] New: error: non-trivial conversion at assignment when linking with -flto/-fwhopr
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Dec 2009 22:12:01 -0000
- Subject: [Bug lto/42430] New: error: non-trivial conversion at assignment when linking with -flto/-fwhopr
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Command line:
g++ A.cpp B.cpp -fPIC -shared -O1 -flto
or
g++ A.cpp B.cpp -fPIC -shared -O1 -fwhopr
Tested revisions:
r155256, with checking - crash
r155248, with checking - crash
r155248, without checking - OK
r154830, with checking - crash
Output:
$ /mnt/svn/gcc-trunk/binary-155256-lto/bin/g++ A.cpp B.cpp -fPIC -shared -O1
-flto
In file included from :0:0:
A.cpp: In function ‘GetA’:
A.cpp:11:11: error: non-trivial conversion at assignment
struct A *
struct B *
D.2058_1 = D.2059_6(D);
A.cpp:11:11: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: /mnt/svn/gcc-trunk/binary-155256-lto/bin/g++ returned 1 exit
status
collect2: lto-wrapper returned 1 exit status
--
Summary: error: non-trivial conversion at assignment when linking
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=42430