diff options
Diffstat (limited to 'gcc/tree-complex.c')
-rw-r--r-- | gcc/tree-complex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c index 82ec14a7a6f..a34d04842f2 100644 --- a/gcc/tree-complex.c +++ b/gcc/tree-complex.c @@ -495,8 +495,8 @@ get_component_ssa_name (tree ssa_name, bool imag_p) is used in an abnormal phi, and whether it's uninitialized. */ SSA_NAME_OCCURS_IN_ABNORMAL_PHI (ret) = SSA_NAME_OCCURS_IN_ABNORMAL_PHI (ssa_name); - if (TREE_CODE (SSA_NAME_VAR (ssa_name)) == VAR_DECL - && SSA_NAME_IS_DEFAULT_DEF (ssa_name)) + if (SSA_NAME_IS_DEFAULT_DEF (ssa_name) + && TREE_CODE (SSA_NAME_VAR (ssa_name)) == VAR_DECL) { SSA_NAME_DEF_STMT (ret) = SSA_NAME_DEF_STMT (ssa_name); set_ssa_default_def (cfun, SSA_NAME_VAR (ret), ret); |