Check is_single_const in intersect_with_plats
authorMartin Jambor <mjambor@suse.cz>
Fri, 11 May 2018 15:55:15 +0000 (17:55 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 11 May 2018 15:55:15 +0000 (17:55 +0200)
commit063c5529592955ddb1eee4535e3527215f68bc67
treebe0a0f5b8c22e5a0816f37fb8fd7b57ffd2af3e1
parentb901c875c96ede54470887bc40d21ba128257951
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.

From-SVN: r260165
gcc/ChangeLog
gcc/ipa-cp.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr85655_0.C [new file with mode: 0644]