aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadedge.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2012-11-07 08:50:01 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2012-11-07 08:50:01 +0100
commit6e02b5f509bc80b1fde3abbf8d09bb19a408a7ff (patch)
treed0a69bc67491e1470eb38fcc87f4662b22addf51 /gcc/tree-ssa-threadedge.c
parent4c166488ff7cfbe253af1a062371c211667b1db1 (diff)
downloadgcc-6e02b5f509bc80b1fde3abbf8d09bb19a408a7ff.zip
gcc-6e02b5f509bc80b1fde3abbf8d09bb19a408a7ff.tar.gz
gcc-6e02b5f509bc80b1fde3abbf8d09bb19a408a7ff.tar.bz2
re PR debug/54693 (VTA guality issues with loops)
PR debug/54693 * tree-flow.h (propagate_threaded_block_debug_into): New prototype. * tree-ssa-threadedge.c (propagate_threaded_block_debug_into): No longer static. * tree-ssa-loop-ch.c (copy_loop_headers): Use it. * gcc.dg/guality/pr54693-2.c: New test. From-SVN: r193281
Diffstat (limited to 'gcc/tree-ssa-threadedge.c')
-rw-r--r--gcc/tree-ssa-threadedge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-threadedge.c b/gcc/tree-ssa-threadedge.c
index 76b91b7..64e42f3 100644
--- a/gcc/tree-ssa-threadedge.c
+++ b/gcc/tree-ssa-threadedge.c
@@ -1,5 +1,5 @@
/* SSA Jump Threading
- Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011
+ Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
Free Software Foundation, Inc.
Contributed by Jeff Law <law@redhat.com>
@@ -617,7 +617,7 @@ DEF_VEC_ALLOC_O_STACK(tree);
/* Copy debug stmts from DEST's chain of single predecessors up to
SRC, so that we don't lose the bindings as PHI nodes are introduced
when DEST gains new predecessors. */
-static void
+void
propagate_threaded_block_debug_into (basic_block dest, basic_block src)
{
if (!MAY_HAVE_DEBUG_STMTS)