diff options
Diffstat (limited to 'gcc/alias.c')
-rw-r--r-- | gcc/alias.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/alias.c b/gcc/alias.c index 8a20f46..794df75 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -435,6 +435,9 @@ find_base_decl (tree t) if (t == 0 || t == error_mark_node || ! POINTER_TYPE_P (TREE_TYPE (t))) return 0; + if (TREE_CODE (t) == SSA_NAME) + t = SSA_NAME_VAR (t); + /* If this is a declaration, return it. If T is based on a restrict qualified decl, return that decl. */ if (DECL_P (t)) |