diff options
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r-- | gcc/cgraphclones.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c index b5793f9..36ca647 100644 --- a/gcc/cgraphclones.c +++ b/gcc/cgraphclones.c @@ -239,7 +239,7 @@ duplicate_thunk_for_node (cgraph_node *thunk, cgraph_node *node) new_thunk->thunk = thunk->thunk; new_thunk->unique_name = in_lto_p; new_thunk->former_clone_of = thunk->decl; - if (info->param_adjustments) + if (info && info->param_adjustments) clone_info::get_create (new_thunk)->param_adjustments = info->param_adjustments; new_thunk->unit_id = thunk->unit_id; |