https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655
--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> --- Author: jamborm Date: Fri May 11 15:58:29 2018 New Revision: 260166 URL: https://gcc.gnu.org/viewcvs?rev=260166&root=gcc&view=rev Log: Check is_single_const in intersect_with_plats 2018-05-11 Martin Jambor <mjam...@suse.cz> PR ipa/85655 * ipa-cp.c (intersect_with_plats): Check that the lattice contains single const. testsuite/ * g++.dg/lto/pr85655_0.C: New test. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/lto/pr85655_0.C Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/ipa-cp.c branches/gcc-8-branch/gcc/testsuite/ChangeLog