aboutsummaryrefslogtreecommitdiff
path: root/gcc/acconfig.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>1999-12-26 23:06:54 +0000
committerZack Weinberg <zack@gcc.gnu.org>1999-12-26 23:06:54 +0000
commitf4524c9e9c21538cd81446e496aeb8b6fc65302c (patch)
treee94a583f78fa1a51d38c9a2a637700b5008090ff /gcc/acconfig.h
parentf0ad3f46757c37b2968fbcb9f7d26a16409ba05f (diff)
downloadgcc-f4524c9e9c21538cd81446e496aeb8b6fc65302c.zip
gcc-f4524c9e9c21538cd81446e496aeb8b6fc65302c.tar.gz
gcc-f4524c9e9c21538cd81446e496aeb8b6fc65302c.tar.bz2
acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING, GC_CHECKING, GC_ALWAYS_COLLECT.
1999-12-26 Zack Weinberg <zack@wolery.cumb.org> * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING, GC_CHECKING, GC_ALWAYS_COLLECT. * configure.in: Allow --enable-checking with an argument listing check modes to enable. * config.in, configure: Rebuilt. * ggc-page.c, ggc-simple.c: Define GGC_POISON (and GGC_ALWAYS_VERIFY for ggc-simple.c) only if ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if ENABLE_GC_ALWAYS_COLLECT. * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING throughout. * tree.h, tree.c: Change ENABLE_CHECKING to ENABLE_TREE_CHECKING throughout. * cp-tree.h: Replace ENABLE_CHECKING with ENABLE_TREE_CHECKING throughout. From-SVN: r31093
Diffstat (limited to 'gcc/acconfig.h')
-rw-r--r--gcc/acconfig.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/gcc/acconfig.h b/gcc/acconfig.h
index 341d255..a54ffe1 100644
--- a/gcc/acconfig.h
+++ b/gcc/acconfig.h
@@ -4,9 +4,29 @@
/* Define if printf supports "%p". */
#undef HAVE_PRINTF_PTR
-/* Define if you want expensive run-time checks. */
+/* Define if you want more run-time sanity checks. This one gets a grab
+ bag of miscellaneous but relatively cheap checks. */
#undef ENABLE_CHECKING
+/* Define if you want all operations on trees (the basic data
+ structure of the front ends) to be checked for dynamic type safety
+ at runtime. This is moderately expensive. */
+#undef ENABLE_TREE_CHECKING
+
+/* Define if you want all operations on RTL (the basic data structure
+ of the optimizer and back end) to be checked for dynamic type safety
+ at runtime. This is quite expensive. */
+#undef ENABLE_RTL_CHECKING
+
+/* Define if you want the garbage collector to do object poisoning and
+ other memory allocation checks. This is quite expensive. */
+#undef ENABLE_GC_CHECKING
+
+/* Define if you want the garbage collector to operate in maximally
+ paranoid mode, validating the entire heap and collecting garbage at
+ every opportunity. This is extremely expensive. */
+#undef ENABLE_GC_ALWAYS_COLLECT
+
/* Define to 1 if NLS is requested. */
#undef ENABLE_NLS