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

octoploid at yandex dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 11 20:49:00 GMT 2013


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

--- Comment #3 from Markus Trippelsdorf <octoploid at yandex dot com> ---
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% cpu 31.545 total
 % time g++ -Wfatal-errors -fPIC -shared -fno-rtti -O3 BasicBlock.ii
Function.ii
46.94s user 0.30s system 99% cpu 47.258 total

(for comparison clang trunk (70% faster):
  % time clang++ -Wfatal-errors -fPIC -shared -fno-rtti -O3 BasicBlock.ii
Function.ii
15.48s user 0.14s system 99% cpu 15.628 total)



More information about the Gcc-bugs mailing list