diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-10-14 19:05:45 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-10-14 19:05:45 +0200 |
commit | 4f2a9af8626ef22fe1129a84c76f40f77a88c2ec (patch) | |
tree | 2266435d3a1ce217b2074a875954ca7c75d0fd50 /gcc/tree-parloops.c | |
parent | 1833192f30abf95ec0124033882e6bcb64552e6f (diff) | |
download | gcc-4f2a9af8626ef22fe1129a84c76f40f77a88c2ec.zip gcc-4f2a9af8626ef22fe1129a84c76f40f77a88c2ec.tar.gz gcc-4f2a9af8626ef22fe1129a84c76f40f77a88c2ec.tar.bz2 |
tree-parloops.c (separate_decls_in_region_debug_bind): Drop debug stmts setting DEBUG_EXPR_DECLs.
* tree-parloops.c (separate_decls_in_region_debug_bind): Drop debug
stmts setting DEBUG_EXPR_DECLs.
* cfgexpand.c (expand_debug_expr): Ignore zero-length bitfields.
Don't crash if mode1 is VOIDmode.
From-SVN: r152772
Diffstat (limited to 'gcc/tree-parloops.c')
-rw-r--r-- | gcc/tree-parloops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index 12b4ac0..681e046 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -715,6 +715,8 @@ separate_decls_in_region_debug_bind (gimple stmt, void **slot, **dslot; var = gimple_debug_bind_get_var (stmt); + if (TREE_CODE (var) == DEBUG_EXPR_DECL) + return true; gcc_assert (DECL_P (var) && SSA_VAR_P (var)); ielt.uid = DECL_UID (var); dslot = htab_find_slot_with_hash (decl_copies, &ielt, ielt.uid, NO_INSERT); |