[Bug lto/56963] GCC 4.8.0 LTO issue: lto1: internal compiler error: in add_symbol_to_partition, at lto/lto-partition.c:284

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 7 09:14:00 GMT 2014


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

--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Václav Zeman from comment #7)
> Created attachment 32422 [details]
> preprocessed source

Works for me with GCC 4.9 on x86-64-gnu-linux with both -fuse-linker-plugin and
-fno-use-linker-plugin and "g++ -O3 -std=c++11 -w -r -nostdlib -flto". I
haven't tried 4.8, though.

[I had to replace "std::size_t" by "unsigned long" for the new operator in
order to make it compile.]


More information about the Gcc-bugs mailing list