aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-05-11 14:53:43 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2011-05-11 14:53:43 +0200
commitb03c30822bba445ae68699bd7e9efa8f8e07070a (patch)
treee56042c0e2d22f04c029f1f376845c9c63d30b83 /gcc/tree-flow.h
parentb5e04de5e321eef54e6d85d155981fdbbdd09428 (diff)
downloadgcc-b03c30822bba445ae68699bd7e9efa8f8e07070a.zip
gcc-b03c30822bba445ae68699bd7e9efa8f8e07070a.tar.gz
gcc-b03c30822bba445ae68699bd7e9efa8f8e07070a.tar.bz2
re PR debug/48159 (ICE: SIGSEGV in build2_stat (tree.c:3802) with -ftree-loop-distribution -g)
PR debug/48159 * tree-ssa.c (reset_debug_uses): New function. * tree-flow.h (reset_debug_uses): New prototype. * tree-data-ref.c (stmts_from_loop): Ignore debug stmts. * tree-loop-distribution.c (generate_loops_for_partition): Call reset_debug_uses on the stmts that will be removed. Keep around all debug stmts, don't count them as bits in partition bitmap. (generate_builtin): Don't count debug stmts or labels as bits in partition bitmap. * gcc.dg/pr48159-1.c: New test. * gcc.dg/pr48159-2.c: New test. From-SVN: r173656
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index adae463..ab5c80c 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -554,6 +554,7 @@ extern void walk_use_def_chains (tree, walk_use_def_chains_fn, void *, bool);
void insert_debug_temps_for_defs (gimple_stmt_iterator *);
void insert_debug_temp_for_var_def (gimple_stmt_iterator *, tree);
+void reset_debug_uses (gimple);
void release_defs_bitset (bitmap toremove);
/* In tree-into-ssa.c */