* tree-pretty-print.c (dump_generic_node): Check that the node is not
a phi node before calling dump_vops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101548
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-07-03 Ira Rosen <irar@il.ibm.com>
+
+ 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 <gdr@integrable-solutions.net>
* tree-dump.h (dump_string_field): Declare.
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))