summaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-26 23:06:54 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-26 23:06:54 +0000
commit0c4e40c5032e78bc99d55092f105582b3aee4681 (patch)
treee94a583f78fa1a51d38c9a2a637700b5008090ff /gcc/tree.c
parent61748875d7f90dd42d1870793a6bbbbd9e8e7af2 (diff)
downloadgcc-0c4e40c5032e78bc99d55092f105582b3aee4681.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31093 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index c9d9e365da4..b7d251febcd 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -1975,14 +1975,14 @@ chainon (op1, op2)
if (op1)
{
register tree t1;
-#ifdef ENABLE_CHECKING
+#ifdef ENABLE_TREE_CHECKING
register tree t2;
#endif
for (t1 = op1; TREE_CHAIN (t1); t1 = TREE_CHAIN (t1))
;
TREE_CHAIN (t1) = op2;
-#ifdef ENABLE_CHECKING
+#ifdef ENABLE_TREE_CHECKING
for (t2 = op2; t2; t2 = TREE_CHAIN (t2))
if (t2 == t1)
abort (); /* Circularity created. */
@@ -5221,7 +5221,7 @@ get_set_constructor_bytes (init, buffer, wd_size)
return non_const_bits;
}
-#if defined ENABLE_CHECKING && (GCC_VERSION >= 2007)
+#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)
/* Complain that the tree code of NODE does not match the expected CODE.
FILE, LINE, and FUNCTION are of the caller. */
void
@@ -5253,7 +5253,7 @@ tree_class_check_failed (node, cl, file, line, function)
fancy_abort (file, line, function);
}
-#endif /* ENABLE_CHECKING */
+#endif /* ENABLE_TREE_CHECKING */
/* Return the alias set for T, which may be either a type or an
expression. */