http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56088
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed|2013-01-23 00:00:00 |2013-01-28 Ever Confirmed|0 |1 --- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-28 14:30:43 UTC --- What linker are you using? It seems to work for me with GNU ld 2.23.1. Using > ./xg++ -B. t2.ii -r -nostdlib -flto -std=c++11 -march=amdfam10 -mfxsr -fPIC > -O3 -flto-partition=none -fuse-linker-plugin and preprocessed source. Did you use the same flags compiling timehelper.o?