diff options
author | (no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-13 19:57:50 +0000 |
---|---|---|
committer | (no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-13 19:57:50 +0000 |
commit | bf3c982edd07cea490f6e5316ef50d7fca3c7247 (patch) | |
tree | eb3637f92d210e14b26f11edc4253e8f80172ce1 /gcc/tree-pretty-print.c | |
parent | 59bc598e01e292d67c32b6ae240b4544d4c234ab (diff) |
This commit was manufactured by cvs2svn to create tagapple/gcc-1752
'apple-gcc-1752'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/apple-gcc-1752@81802 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index 08816cb2e22..660a9319dc7 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -30,6 +30,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "hashtab.h" #include "tree-flow.h" #include "langhooks.h" +#include "tree-fold-const.h" +#include "tree-chrec.h" #include "tree-iterator.h" /* Local functions, macros and variables. */ @@ -1472,6 +1474,54 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, pp_decimal_int (buffer, SSA_NAME_VERSION (node)); break; + case POLYNOMIAL_CHREC: + pp_string (buffer, "{"); + dump_generic_node (buffer, CHREC_LEFT (node), spc, flags, false); + pp_string (buffer, ", +, "); + dump_generic_node (buffer, CHREC_RIGHT (node), spc, flags, false); + pp_string (buffer, "}_"); + dump_generic_node (buffer, CHREC_VAR (node), spc, flags, false); + is_stmt = false; + break; + + case EXPONENTIAL_CHREC: + pp_string (buffer, "{"); + dump_generic_node (buffer, CHREC_LEFT (node), spc, flags, false); + pp_string (buffer, ", *, "); + dump_generic_node (buffer, CHREC_RIGHT (node), spc, flags, false); + pp_string (buffer, "}_"); + dump_generic_node (buffer, CHREC_VAR (node), spc, flags, false); + is_stmt = false; + break; + + case PEELED_CHREC: + pp_string (buffer, "("); + dump_generic_node (buffer, CHREC_LEFT (node), spc, flags, false); + pp_string (buffer, ", "); + dump_generic_node (buffer, CHREC_RIGHT (node), spc, flags, false); + pp_string (buffer, ")_"); + dump_generic_node (buffer, CHREC_VAR (node), spc, flags, false); + is_stmt = false; + break; + + case INTERVAL_CHREC: + if (node == chrec_top) + pp_string (buffer, "[-oo, +oo]"); + else if (node == chrec_bot) + pp_string (buffer, "[+oo, -oo]"); + else if (node == chrec_not_analyzed_yet) + pp_string (buffer, "not_analyzed_yet"); + else + { + pp_string (buffer, "["); + dump_generic_node (buffer, CHREC_LOW (node), spc, flags, false); + pp_string (buffer, ", "); + dump_generic_node (buffer, CHREC_UP (node), spc, flags, false); + pp_string (buffer, "]"); + } + is_stmt = false; + break; + default: NIY; } |