diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-26 20:11:07 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-26 20:11:07 +0000 |
commit | 25ae9ba2890e790638f27e8006d2090e74d1bfb1 (patch) | |
tree | bdaff1aea613ecb7499369f1f052fb2b0c3139f2 /gcc/tree-into-ssa.c | |
parent | 6dae34087f432dd4bcd373e154c316884170027d (diff) | |
download | gcc-25ae9ba2890e790638f27e8006d2090e74d1bfb1.tar.gz |
* tree-into-ssa (insert_phi_nodes_for): 'var' must be a DECL at
this point, so assert that.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137159 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-into-ssa.c')
-rw-r--r-- | gcc/tree-into-ssa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c index 0eb2ded11b9..c9e99efa9d1 100644 --- a/gcc/tree-into-ssa.c +++ b/gcc/tree-into-ssa.c @@ -1111,8 +1111,8 @@ insert_phi_nodes_for (tree var, bitmap phi_insertion_points, bool update_p) } else { - tree sym = DECL_P (var) ? var : SSA_NAME_VAR (var); - phi = create_phi_node (sym, bb); + gcc_assert (DECL_P (var)); + phi = create_phi_node (var, bb); } /* Mark this PHI node as interesting for update_ssa. */ |