re PR ipa/64978 (ICE: in ipcp_verify_propagated_values, at ipa-cp.c:1060)
commit94a2f772f041cdbc3711aa8b7da8678fb206fa36
authorJan Hubicka <hubicka@ucw.cz>
Tue, 10 Feb 2015 00:38:46 +0000 (10 01:38 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 10 Feb 2015 00:38:46 +0000 (10 00:38 +0000)
treee7b9077f8f868d6c3e6d9f22b17e5ffca21cfd6d
parentb25d7b91b0c763e0d078cf98465fdd2c1ec34f58
re PR ipa/64978 (ICE: in ipcp_verify_propagated_values, at ipa-cp.c:1060)

PR ipa/64978
* ipa-cp.c (gather_caller_stats): Skip thunks.
(propagate_constants_topo): Skip aliases.

* g++.dg/torture/pr64978.C: New testcase.

From-SVN: r220557
gcc/ChangeLog
gcc/ipa-cp.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr64978.C [new file with mode: 0644]