[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 11 15:55:00 GMT 2018


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  <mjambor@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


More information about the Gcc-bugs mailing list