This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] improve documentation of ENTRY_BLOCK and EXIT_BLOCK


:ADDPATCH: documentation

	* basic-block.h (ENTRY_BLOCK, EXIT_BLOCK): Document that neither of
	them is supposed to hold actual statements.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 gcc/ChangeLog     |    5 +++++
 gcc/basic-block.h |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 84bf219..58dad50 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-04  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
+
+	* basic-block.h (ENTRY_BLOCK, EXIT_BLOCK): Document that neither of
+	them is supposed to hold actual statements.
+
 2009-06-04  Uros Bizjak  <ubizjak@gmail.com>
 
 	* config/i386/i386.h (X86_64_MS_REGPARM_MAX): Rename from
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 41d9f95..b563aa4 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -488,7 +488,8 @@ extern bitmap_obstack reg_obstack;
 #define BB_HEAD(B)      (B)->il.rtl->head_
 #define BB_END(B)       (B)->il.rtl->end_
 
-/* Special block numbers [markers] for entry and exit.  */
+/* Special block numbers [markers] for entry and exit.
+   Neither of them is supposed to hold actual statements.  */
 #define ENTRY_BLOCK (0)
 #define EXIT_BLOCK (1)
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]