https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Fri May 11 15:55:15 2018
New Revision: 260165

URL: https://gcc.gnu.org/viewcvs?rev=260165&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:
    trunk/gcc/testsuite/g++.dg/lto/pr85655_0.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-cp.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to