diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-01-21 19:19:25 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-01-21 18:19:25 +0000 |
commit | 173148bb1200269fb5d9c0aab13ca9c34fbc8d36 (patch) | |
tree | a3e5fd1072829092a58fd46c965239291d0aca59 /gcc/ipa-utils.c | |
parent | 2f3c4b6968e969001578fddc4fac848b8726dde3 (diff) |
ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect edges.
* ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
edges.
From-SVN: r219962
Diffstat (limited to 'gcc/ipa-utils.c')
-rw-r--r-- | gcc/ipa-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c index 76125481cd9..a8bb42d4263 100644 --- a/gcc/ipa-utils.c +++ b/gcc/ipa-utils.c @@ -634,7 +634,7 @@ ipa_merge_profiles (struct cgraph_node *dst, speculations when merging. */ gcc_unreachable (); } - else if (e2->speculative) + else if (e2 && e2->speculative) { cgraph_edge *direct, *indirect; ipa_ref *ref; |