[PR 71234] Avoid valgrind warning in ipa-cp
authorMartin Jambor <mjambor@suse.cz>
Mon, 23 May 2016 16:31:14 +0000 (18:31 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 23 May 2016 16:31:14 +0000 (18:31 +0200)
commit44a71f36580a4e0d05e3d787b4e54991ac26026a
tree6d60bac35eb001644b72a0afe1a3b366627a2229
parenta7dc5980e91d758905750a5c0a533f689eca355e
[PR 71234] Avoid valgrind warning in ipa-cp

2016-05-23  Martin Jambor  <mjambor@suse.cz>

PR ipa/71234
* ipa-cp.c (ipa_get_indirect_edge_target_1): Only check value of
from_global_constant if t is not NULL.

From-SVN: r236598
gcc/ChangeLog
gcc/ipa-cp.c