[PR 79579] Avoid segfault on NULL ipa_edge_args_vector
authorMartin Jambor <mjambor@suse.cz>
Tue, 21 Feb 2017 14:01:52 +0000 (15:01 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 21 Feb 2017 14:01:52 +0000 (15:01 +0100)
commit03108bad95b96d9dad75dc99482d652ea9a749c5
tree9dd3ad823b43bc7765a3046e0b202b991dc423d2
parent781176469e242fb669dcc9547b72979be9059a94
[PR 79579] Avoid segfault on NULL ipa_edge_args_vector

2017-02-21  Martin Jambor  <mjambor@suse.cz>

PR lto/79579
* ipa-prop.c (ipa_prop_write_jump_functions): Bail out if no edges
have been analyzed.

From-SVN: r245628
gcc/ChangeLog
gcc/ipa-prop.c