aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index f2b4491..83ba423 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -244,6 +244,7 @@ remap_ssa_name (tree name, copy_body_data *id)
/* At least IPA points-to info can be directly transferred. */
if (id->src_cfun->gimple_df
&& id->src_cfun->gimple_df->ipa_pta
+ && POINTER_TYPE_P (TREE_TYPE (name))
&& (pi = SSA_NAME_PTR_INFO (name))
&& !pi->pt.anything)
{
@@ -276,6 +277,7 @@ remap_ssa_name (tree name, copy_body_data *id)
/* At least IPA points-to info can be directly transferred. */
if (id->src_cfun->gimple_df
&& id->src_cfun->gimple_df->ipa_pta
+ && POINTER_TYPE_P (TREE_TYPE (name))
&& (pi = SSA_NAME_PTR_INFO (name))
&& !pi->pt.anything)
{