https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69655
vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-02-03 Ever confirmed|0 |1 --- Comment #1 from vries at gcc dot gnu.org --- Confirmed. Remarked before by Ilya at https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01870.html: ... This doesn't work when there is more than one LTO partition, because only first partition contains full offload table to maintain correct order, but cgraph and varpool nodes aren't necessarily created for the first partition. To reproduce: $ make check-target-libgomp RUNTESTFLAGS="c.exp=for-* --target_board=unix/-flto" FAIL: libgomp.c/for-3.c (internal compiler error) FAIL: libgomp.c/for-5.c (internal compiler error) FAIL: libgomp.c/for-6.c (internal compiler error) $ make check-target-libgomp RUNTESTFLAGS="c++.exp=for-* --target_board=unix/-flto" FAIL: libgomp.c++/for-11.C (internal compiler error) FAIL: libgomp.c++/for-13.C (internal compiler error) FAIL: libgomp.c++/for-14.C (internal compiler error) ...