diff options
author | Ira Rosen <irar@il.ibm.com> | 2005-07-03 11:45:56 +0000 |
---|---|---|
committer | Ira Rosen <irar@gcc.gnu.org> | 2005-07-03 11:45:56 +0000 |
commit | 7adaa46c7a79aa5c82af0978f3eb433ed70aa4ef (patch) | |
tree | a841f020034a070a3f09fa442267e348ede6c188 /gcc/tree-pretty-print.c | |
parent | 1966af04b7dd0d550d4672e9007874110c5eac23 (diff) | |
download | gcc-7adaa46c7a79aa5c82af0978f3eb433ed70aa4ef.zip gcc-7adaa46c7a79aa5c82af0978f3eb433ed70aa4ef.tar.gz gcc-7adaa46c7a79aa5c82af0978f3eb433ed70aa4ef.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index 4fa0326..4d3719b 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)) |