+2004-07-16 Sebastian Pop <pop@cri.ensmp.fr>
+
+ * Makefile.in (tree-pretty-print.o): Depend on tree-chrec.h.
+ * tree-pretty-print.c: Include tree-chrec.h.
+ (dump_generic_node): Pretty print SCEV_KNOWN, SCEV_NOT_KNOWN
+ and POLYNOMIAL_CHREC nodes.
+
2004-07-16 Steve Ellcey <sje@cup.hp.com>
* builtins.c (expand_builtin_stpcpy): Do not create temporary
output.h varray.h langhooks.h tree-mudflap.h $(TM_H) coretypes.h
tree-pretty-print.o : tree-pretty-print.c $(CONFIG_H) $(SYSTEM_H) \
errors.h $(TREE_H) diagnostic.h real.h $(HASHTAB_H) $(TREE_FLOW_H) \
- $(TM_H) coretypes.h tree-iterator.h
+ $(TM_H) coretypes.h tree-iterator.h tree-chrec.h
fold-const.o : fold-const.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
$(TREE_H) $(FLAGS_H) real.h toplev.h $(HASHTAB_H) $(EXPR_H) $(RTL_H) $(GGC_H) \
$(TM_P_H) langhooks.h $(MD5_H)
#include "tree-flow.h"
#include "langhooks.h"
#include "tree-iterator.h"
+#include "tree-chrec.h"
/* Local functions, macros and variables. */
static int op_prio (tree);
pp_printf (buffer, "VH.%d", VALUE_HANDLE_ID (node));
break;
+ case SCEV_KNOWN:
+ pp_string (buffer, "scev_known");
+ break;
+
+ case SCEV_NOT_KNOWN:
+ pp_string (buffer, "scev_not_known");
+ 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;
+
default:
NIY;
}