[Bug c++/37352] thunks for virtual function should work on lto

2009-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2009-11-30 12:36 --- Fixed by Honza. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37352] thunks for virtual function should work on lto

2009-11-11 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2009-11-11 18:28 --- *** Bug 42009 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37352] thunks for virtual function should work on lto

2009-11-11 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-11-11 20:32 --- There's a simple workaround for most cases, condition asm-thunks on !flag_write_lto. We'll do this if a proper implementation doesn't come up for 4.5. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37352

[Bug c++/37352] thunks for virtual function should work on lto

2009-10-10 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-10-10 18:44 --- *** Bug 41663 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37352] thunks for virtual function should work on lto

2009-10-06 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-06 13:53 --- *** Bug 41602 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37352] thunks for virtual function should work on lto

2009-10-06 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-10-06 13:54 --- Another testcase in PR41602. SPEC CPU 2006 450.soplex is the only one in SPEC 2000/2006 to run into this issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37352

[Bug c++/37352] thunks for virtual function should work on lto

2008-12-31 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-31 19:26 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37352] thunks for virtual function should work on lto

2008-12-31 Thread dnovillo at gcc dot gnu dot org
--- Comment #5 from dnovillo at gcc dot gnu dot org 2008-12-31 19:32 --- Initial fix at http://gcc.gnu.org/ml/gcc-patches/2008-12/msg00953.html Keeping open as thunks with varargs are still broken. -- dnovillo at gcc dot gnu dot org changed: What|Removed

[Bug c++/37352] thunks for virtual function should work on lto

2008-11-19 Thread espindola at google dot com
--- Comment #2 from espindola at google dot com 2008-11-19 17:49 --- To reproduce: g++ -O2 -c thunk.C -flto-single -o thunk-lto.o g++ -O2 -c thunk.C -o thunk.o readelf -s thunk.o | grep Th 35: 6 FUNCWEAK DEFAULT 19 _ZThn8_N1C1fEv readelf -s thunk-lto.o

[Bug c++/37352] thunks for virtual function should work on lto

2008-11-19 Thread espindola at google dot com
--- Comment #3 from espindola at google dot com 2008-11-19 17:53 --- This case can be easily fixed by setting targetm.asm_out.can_output_mi_thunk to NULL. This will introduce a performance regression. The only case that will be missing is varg functions. The llvm equivalent bug is

[Bug c++/37352] thunks for virtual function should work on lto

2008-11-19 Thread espindola at google dot com
--- Comment #1 from espindola at google dot com 2008-11-19 17:47 --- Created an attachment (id=16722) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16722action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37352