generic.texi (Adding new DECL node types): Explain *_CHECK macros.
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 11 Oct 2013 10:41:56 +0000 (12:41 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Fri, 11 Oct 2013 10:41:56 +0000 (12:41 +0200)
gcc/
* doc/generic.texi (Adding new DECL node types): Explain *_CHECK
macros.

From-SVN: r203413

gcc/ChangeLog
gcc/doc/generic.texi

index 04b02f1ac4c97246fec10fa499a3fa517c750e2d..b8c57081add43129bae673933b002bfc9f6fd169 100644 (file)
@@ -1,5 +1,8 @@
 2013-10-11  Thomas Schwinge  <thomas@codesourcery.com>
 
+       * doc/generic.texi (Adding new DECL node types): Explain *_CHECK
+       macros.
+
        * doc/gimple.texi (is_gimple_omp): Move into the correct section.
 
        * acinclude.m4 (gcc_GAS_FLAGS): Add more gcc_cv_as_flags
index cacab01f9a452984688b40f1e058b0f8e8bde6d1..07e3f5ae8a1022ecd310580f4cfaca30189d1b15 100644 (file)
@@ -924,6 +924,11 @@ structures, something like the following should be used
    (BASE_STRUCT_CHECK(NODE)->base_struct.fieldname
 @end smallexample
 
+Reading them from the generated @file{all-tree.def} file (which in
+turn includes all the @file{tree.def} files), @file{gencheck.c} is
+used during GCC's build to generate the @code{*_CHECK} macros for all
+tree codes.
+
 @end table