projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a120413
)
Fix ICE in compute_parm_map
author
Jan Hubicka
<jh@suse.cz>
Thu, 1 Oct 2020 13:27:00 +0000
(15:27 +0200)
committer
Jan Hubicka
<jh@suse.cz>
Thu, 1 Oct 2020 13:27:00 +0000
(15:27 +0200)
gcc/ChangeLog:
* ipa-modref.c (compute_parm_map): Be ready for callee_pi to be NULL.
gcc/ipa-modref.c
patch
|
blob
|
history
diff --git
a/gcc/ipa-modref.c
b/gcc/ipa-modref.c
index
2f4da8f
..
71a7955
100644
(file)
--- a/
gcc/ipa-modref.c
+++ b/
gcc/ipa-modref.c
@@
-1363,7
+1363,7
@@
compute_parm_map (cgraph_edge *callee_edge, vec<int> *parm_map)
struct ipa_jump_func *jf
= ipa_get_ith_jump_func (args, i);
- if (jf)
+ if (jf
&& callee_pi
)
{
tree cst = ipa_value_from_jfunc (caller_parms_info,
jf,