diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-08-30 19:17:15 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-08-30 19:17:15 +0200 |
commit | b0268cc04f2b9a39dc70388cc63d88ff5e839049 (patch) | |
tree | 14860adee8fb7c74defc7abb04b00d7446f281fd /gcc | |
parent | f2b11865fe81940d2061a924c3428a7915897fe9 (diff) | |
download | gcc-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/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/tree-ssa-live.c | 2 |
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; |