https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88130
--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Sun Jan 6 20:11:15 2019 New Revision: 267613 URL: https://gcc.gnu.org/viewcvs?rev=267613&root=gcc&view=rev Log: Backport from mainline 2019-01-02 Jan Hubicka <hubi...@ucw.cz> PR lto/88130 * varpool.c (varpool_node::ctor_useable_for_folding_p): Also return false at WPA time when body was removed. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/torture/pr88130.C Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/varpool.c