From 7d4923724f12593d951cbe873d0e6456f7082fc0 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 4 Dec 2000 12:21:42 -0500 Subject: [PATCH] print-tree.c (print_node): target-specific builtins print numbers, not names. * print-tree.c (print_node): target-specific builtins print numbers, not names. From-SVN: r38004 --- gcc/ChangeLog | 5 +++++ gcc/print-tree.c | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bdfe0959558..070f910413cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-12-04 DJ Delorie + + * print-tree.c (print_node): target-specific builtins print + numbers, not names. + 2000-12-04 Jason Merrill * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, diff --git a/gcc/print-tree.c b/gcc/print-tree.c index d0073fd0c267..97441d370cc3 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -403,9 +403,14 @@ print_node (file, prefix, node, indent) fprintf (file, HOST_WIDE_INT_PRINT_DEC, DECL_FRAME_SIZE (node)); } else if (DECL_BUILT_IN (node)) - fprintf (file, " built-in %s:%s", - built_in_class_names[(int) DECL_BUILT_IN_CLASS (node)], - built_in_names[(int) DECL_FUNCTION_CODE (node)]); + { + if (DECL_BUILT_IN_CLASS (node) == BUILT_IN_MD) + fprintf (file, " built-in BUILT_IN_MD %d", DECL_FUNCTION_CODE (node)); + else + fprintf (file, " built-in %s:%s", + built_in_class_names[(int) DECL_BUILT_IN_CLASS (node)], + built_in_names[(int) DECL_FUNCTION_CODE (node)]); + } if (DECL_POINTER_ALIAS_SET_KNOWN_P (node)) { -- 2.43.5