diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-11-05 10:00:50 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-11-05 10:00:50 +0100 |
commit | 0f59b812398ae891259f0bd563ca2a23238408a6 (patch) | |
tree | fbd7c6a0a871f00e3113cb593c9a548ba7aa2ec2 /gcc/tree-pretty-print.c | |
parent | fc36036b04abe3c899d3bf4dba93e89e2a15dd50 (diff) | |
download | gcc-0f59b812398ae891259f0bd563ca2a23238408a6.zip gcc-0f59b812398ae891259f0bd563ca2a23238408a6.tar.gz gcc-0f59b812398ae891259f0bd563ca2a23238408a6.tar.bz2 |
re PR debug/46307 (ICE with FMA_EXPR in DEBUG stmts)
PR debug/46307
* tree-ssa-operands.c (get_expr_operands): Handle FMA_EXPR.
* tree-pretty-print.c (dump_generic_node): Likewise.
(op_code_prio): Likewise.
* cfgexpand.c (expand_debug_expr): Likewise.
* gcc.dg/pr46307.c: New test.
From-SVN: r166351
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index 8ec2ded..12ef388 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -2040,6 +2040,16 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, pp_string (buffer, " > "); break; + case FMA_EXPR: + pp_string (buffer, " FMA_EXPR < "); + dump_generic_node (buffer, TREE_OPERAND (node, 0), spc, flags, false); + pp_string (buffer, ", "); + dump_generic_node (buffer, TREE_OPERAND (node, 1), spc, flags, false); + pp_string (buffer, ", "); + dump_generic_node (buffer, TREE_OPERAND (node, 2), spc, flags, false); + pp_string (buffer, " > "); + break; + case OMP_PARALLEL: pp_string (buffer, "#pragma omp parallel"); dump_omp_clauses (buffer, OMP_PARALLEL_CLAUSES (node), spc, flags); @@ -2546,6 +2556,7 @@ op_code_prio (enum tree_code code) case CEIL_MOD_EXPR: case FLOOR_MOD_EXPR: case ROUND_MOD_EXPR: + case FMA_EXPR: return 13; case TRUTH_NOT_EXPR: |