[Bug lto/59469] LLVM build failure with gcc LTO

2013-12-11 Thread octoploid at yandex dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #5 from Markus Trippelsdorf --- (In reply to Andrew Pinski from comment #4) > (In reply to Markus Trippelsdorf from comment #3) > > BTW it is interesting that gcc compiles the attached testcase faster > > when using LTO. > > > > % ti

[Bug lto/59469] LLVM build failure with gcc LTO

2013-12-11 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #4 from Andrew Pinski --- (In reply to Markus Trippelsdorf from comment #3) > BTW it is interesting that gcc compiles the attached testcase faster > when using LTO. > > % time g++ -flto=4 -Wfatal-errors -fPIC -shared -fno-rtti -O3 Ba

[Bug lto/59469] LLVM build failure with gcc LTO

2013-12-11 Thread octoploid at yandex dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #3 from Markus Trippelsdorf --- BTW it is interesting that gcc compiles the attached testcase faster when using LTO. % time g++ -flto=4 -Wfatal-errors -fPIC -shared -fno-rtti -O3 BasicBlock.ii Function.ii 52.48s user 0.59s system 168

[Bug lto/59469] LLVM build failure with gcc LTO

2013-12-11 Thread octoploid at yandex dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #2 from Markus Trippelsdorf --- markus@x4 llvm_build % cat BasicBlock.ii struct A {}; namespace llvm { struct B {}; template struct ilist_traits : B {}; template class ilist_iterator : A { public: ilist_iterator(int) {} int opera

[Bug lto/59469] LLVM build failure with gcc LTO

2013-12-11 Thread octoploid at yandex dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #1 from Markus Trippelsdorf --- Created attachment 31417 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31417&action=edit testcase