Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 662476 Details for
Bug 734006
sys-devel/gcc-10.1.0-r2: ICE in in add_new_edges_to_heap, at ipa-inline.c:1746
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc-10-ipa-prop-spec-PR96394.patch
gcc-10-ipa-prop-spec-PR96394.patch (text/plain), 1.17 KB, created by
Sergei Trofimovich (RETIRED)
on 2020-09-25 22:55:17 UTC
(
hide
)
Description:
gcc-10-ipa-prop-spec-PR96394.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2020-09-25 22:55:17 UTC
Size:
1.17 KB
patch
obsolete
>https://gcc.gnu.org/PR96394 >https://bugs.gentoo.org/734006 >--- a/gcc/ipa-prop.c >+++ b/gcc/ipa-prop.c >@@ -3787,11 +3787,12 @@ update_indirect_edges_after_inlining (struct cgraph_edge *cs, > > param_index = ici->param_index; > jfunc = ipa_get_ith_jump_func (top, param_index); >- cgraph_node *spec_target = NULL; > >- /* FIXME: This may need updating for multiple calls. */ >- if (ie->speculative) >- spec_target = ie->first_speculative_call_target ()->callee; >+ auto_vec<cgraph_node *, 4> spec_targets; >+ for (cgraph_edge *direct = ie->first_speculative_call_target (); >+ direct; >+ direct = direct->next_speculative_call_target ()) >+ spec_targets.safe_push (direct->callee); > > if (!opt_for_fn (node->decl, flag_indirect_inlining)) > new_direct_edge = NULL; >@@ -3814,7 +3815,7 @@ update_indirect_edges_after_inlining (struct cgraph_edge *cs, > > /* If speculation was removed, then we need to do nothing. */ > if (new_direct_edge && new_direct_edge != ie >- && new_direct_edge->callee == spec_target) >+ && spec_targets.contains (new_direct_edge->callee)) > { > new_direct_edge->indirect_inlining_edge = 1; > top = IPA_EDGE_REF (cs);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 734006
:
650902
|
650904
|
658746
| 662476