aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/rs6000.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/rs6000.c')
-rw-r--r--gcc/config/rs6000/rs6000.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index d0de4b5224d..d3e1d7e0f3b 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -85,6 +85,11 @@
/* This file should be included last. */
#include "target-def.h"
+#define KELVIN_VERBOSE
+#ifdef KELVIN_VERBOSE
+extern void take_a_dump ();
+#endif
+
#ifndef TARGET_NO_PROTOTYPE
#define TARGET_NO_PROTOTYPE 0
#endif
@@ -13898,6 +13903,7 @@ static const struct builtin_description bdesc_htm[] =
#undef RS6000_BUILTIN_H
#undef RS6000_BUILTIN_P
#undef RS6000_BUILTIN_Q
+#undef RS6000_BUILTIN_X
/* Return true if a builtin function is overloaded. */
bool
@@ -17266,6 +17272,9 @@ rs6000_init_builtins (void)
#ifdef SUBTARGET_INIT_BUILTINS
SUBTARGET_INIT_BUILTINS;
#endif
+#ifdef KELVIN_VERBOSE
+ take_a_dump ();
+#endif
}
/* Returns the rs6000 builtin decl for CODE. */
@@ -39644,3 +39653,7 @@ rs6000_starting_frame_offset (void)
struct gcc_target targetm = TARGET_INITIALIZER;
#include "gt-rs6000.h"
+
+#ifdef KELVIN_VERBOSE
+#include "dump-builtins.c"
+#endif