From: Ira Rosen Date: Sun, 3 Jul 2005 11:45:56 +0000 (+0000) Subject: PR tree-optimization/22029 (and 22135) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7adaa46c7a79aa5c82af0978f3eb433ed70aa4ef;p=gcc.git PR tree-optimization/22029 (and 22135) PR tree-optimization/22029 (and 22135) * tree-pretty-print.c (dump_generic_node): Check that the node is not a phi node before calling dump_vops. From-SVN: r101548 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac9afebcbdb..7f83475e188 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-07-03 Ira Rosen + + PR tree-optimization/22029 (and 22135) + * tree-pretty-print.c (dump_generic_node): Check that the node is not + a phi node before calling dump_vops. + 2005-07-02 Gabriel Dos Reis * tree-dump.h (dump_string_field): Declare. diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index 4fa03269149..4d3719b89e6 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -267,7 +267,8 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, if (TREE_CODE (node) != ERROR_MARK && is_gimple_stmt (node) && (flags & TDF_VOPS) - && stmt_ann (node)) + && stmt_ann (node) + && TREE_CODE (node) != PHI_NODE) dump_vops (buffer, node, spc, flags); if (is_stmt && (flags & TDF_STMTADDR))