http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49373
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-06-11 17:43:49 UTC --- (In reply to comment #3) > The patch is expected to cause g++.dg/torture/pr43879-1_1.C. > > I do not get the other LTO failures. Perhaps it depends whether or not one use > linker plugin. The final testing was done on gccfarm machines, so w/o plugin. > What kind of error do you get there? I got /tmp/ccdoubbY.lto.o: In function `C::~C()':^M cp_lto_20081118-1_0.o:(.text+0x50): undefined reference to `C::~C()'^M /tmp/ccdoubbY.lto.o: In function `D::~D()':^M cp_lto_20081118-1_0.o:(.text+0xae): undefined reference to `C::~C()'^M /tmp/ccdoubbY.lto.o:(.rodata+0x10): undefined reference to `C::~C()'^M collect2: error: ld returned 1 exit status^M FAIL: g++.dg/lto/20081118-1 cp_lto_20081118-1_0.o-cp_lto_20081118-1_1.o link, -O0 -flto -flto-partition=none and FAIL: gcc.c-torture/execute/builtins/strlen-3.c execution, -O2 -flto -flto-partition=none