]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/gencheck.c
Correct a function pre/postcondition [PR102403].
[thirdparty/gcc.git] / gcc / gencheck.c
index f8b591e875db7b64517bc4b303badbb3117979c7..5d31efb8170d1fb96e1c5f7eb9f852b79547400b 100644 (file)
@@ -1,6 +1,5 @@
 /* Generate check macros for tree codes.
-   Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2007
-   Free Software Foundation, Inc.
+   Copyright (C) 1998-2021 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -24,14 +23,16 @@ along with GCC; see the file COPYING3.  If not see
 #include "tm.h"
 
 #define DEFTREECODE(SYM, NAME, TYPE, LEN) #SYM,
+#define END_OF_BASE_TREE_CODES
 
 static const char *const tree_codes[] = {
-#include "tree.def"
-#include "c-common.def"
-#include "gencheck.h"
+#include "all-tree.def"
 (char*) 0
 };
 
+#undef DEFTREECODE
+#undef END_OF_BASE_TREE_CODES
+
 static void usage (void);
 
 static void