aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-08-30 19:17:15 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-08-30 19:17:15 +0200
commitb0268cc04f2b9a39dc70388cc63d88ff5e839049 (patch)
tree14860adee8fb7c74defc7abb04b00d7446f281fd /gcc
parentf2b11865fe81940d2061a924c3428a7915897fe9 (diff)
downloadgcc-b0268cc04f2b9a39dc70388cc63d88ff5e839049.zip
gcc-b0268cc04f2b9a39dc70388cc63d88ff5e839049.tar.gz
gcc-b0268cc04f2b9a39dc70388cc63d88ff5e839049.tar.bz2
re PR debug/45419 (-fcompare-debug failure at -O3)
PR debug/45419 * tree-ssa-live.c (dump_enumerated_decls): Clear the whole wi variable. From-SVN: r163654
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tree-ssa-live.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fe0a0d5..3093c6c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2010-08-30 Jakub Jelinek <jakub@redhat.com>
+ PR debug/45419
+ * tree-ssa-live.c (dump_enumerated_decls): Clear the whole wi variable.
+
PR middle-end/45423
* gimplify.c (goa_stabilize_expr): Handle TRUTH_NOT_EXPR
and TRUTH_{AND,OR,XOR}_EXPR.
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c
index 821be7f..9b5c358 100644
--- a/gcc/tree-ssa-live.c
+++ b/gcc/tree-ssa-live.c
@@ -1245,8 +1245,8 @@ dump_enumerated_decls (FILE *file, int flags)
struct walk_stmt_info wi;
VEC (numbered_tree, heap) *decl_list = VEC_alloc (numbered_tree, heap, 40);
+ memset (&wi, '\0', sizeof (wi));
wi.info = (void*) decl_list;
- wi.pset = NULL;
FOR_EACH_BB (bb)
{
gimple_stmt_iterator gsi;