diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-31 23:02:03 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-31 23:02:03 +0000 |
commit | 153536dfc5a467f1f39b337175d2ced9d367b69c (patch) | |
tree | dd4685b0ca88e560d71b7cf8f59e4b6058bf2470 /gcc/tree-pretty-print.c | |
parent | 9d0db5ea62430f1b60792f50413b0ec619fcc59a (diff) | |
download | gcc-153536dfc5a467f1f39b337175d2ced9d367b69c.tar.gz |
* tree-pretty-print.c (dump_generic_node, case CONVERT_EXPR): Add
blank after ')'.
(op_symbol, case *_{DIV,MOD}_EXPR): Say what rounding is being used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86851 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index da30d89ecf2..0d1e540a3b8 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -1077,7 +1077,7 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, { pp_character (buffer, '('); dump_generic_node (buffer, type, spc, flags, false); - pp_string (buffer, ")"); + pp_string (buffer, ") "); } if (op_prio (op0) < op_prio (node)) pp_character (buffer, '('); @@ -1831,18 +1831,32 @@ op_symbol (tree op) return "*"; case TRUNC_DIV_EXPR: + case RDIV_EXPR: + return "/"; + case CEIL_DIV_EXPR: + return "/[cl]"; + case FLOOR_DIV_EXPR: + return "/[fl]"; + case ROUND_DIV_EXPR: - case RDIV_EXPR: + return "/[rd]"; + case EXACT_DIV_EXPR: - return "/"; + return "/[ex]"; case TRUNC_MOD_EXPR: + return "%"; + case CEIL_MOD_EXPR: + return "%[cl]"; + case FLOOR_MOD_EXPR: + return "%[fl]"; + case ROUND_MOD_EXPR: - return "%"; + return "%[rd]"; case PREDECREMENT_EXPR: return " --"; |