[Bug lto/42430] New: error: non-trivial conversion at assignment when linking with -flto/-fwhopr
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Fri Dec 18 22:12:00 GMT 2009
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
More information about the Gcc-bugs
mailing list