summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-04 17:21:42 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-04 17:21:42 +0000
commitc2ff255e439b666cd83b88c9c2d8d6801c8f3abb (patch)
treeba13af50747ad01e44a50c1255e3c7660f88b5ff /gcc/print-tree.c
parentd76983d115c7eb7f95059784c45944f1330a259a (diff)
downloadgcc-c2ff255e439b666cd83b88c9c2d8d6801c8f3abb.tar.gz
* print-tree.c (print_node): target-specific builtins print
numbers, not names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38004 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index d0073fd0c26..97441d370cc 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))
{