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.]