aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-11-28 10:47:25 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2001-11-28 09:47:25 +0000
commitdb4a825457efe5f2b71281fa17f59ce2d7c65a6d (patch)
tree97187b5417e7845f32035f0c7bc2cd22abcfb809 /gcc/doc
parent562d21e913afeb56dced1b60fdfe6ff09a2fbf23 (diff)
downloadgcc-db4a825457efe5f2b71281fa17f59ce2d7c65a6d.zip
gcc-db4a825457efe5f2b71281fa17f59ce2d7c65a6d.tar.gz
gcc-db4a825457efe5f2b71281fa17f59ce2d7c65a6d.tar.bz2
cse.c (true_dependence_in_rtx): New function.
* cse.c (true_dependence_in_rtx): New function. (invalidate): Use it. * c-common.h (GOTO_FAKE_P): New macro. * tree-inline.c (GOTO_FAKE_P): Set. * c-tree.texi (GOTO_FAKE_P): Document. * varasm.c (assemble_variable): Set reloc to 3 for error_mark containing pointers. (output_addressed_constants): Check for local/external relocations. * elfos.h (SELECT_SECTION): Classify data section. * tm.texi (SELECT_SECTION): Update documentation. * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit. (flow_dfs_compute_reverse_execute): Add only unvisited blocks. From-SVN: r47405
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/c-tree.texi13
-rw-r--r--gcc/doc/tm.texi4
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi
index b27c082..dd21ae6 100644
--- a/gcc/doc/c-tree.texi
+++ b/gcc/doc/c-tree.texi
@@ -1278,6 +1278,7 @@ This predicate holds if the function an overloaded
@findex FOR_BODY
@tindex GOTO_STMT
@findex GOTO_DESTINATION
+@findex GOTO_FAKE_P
@tindex HANDLER
@tindex IF_STMT
@findex IF_COND
@@ -1511,11 +1512,13 @@ expressions.
@item GOTO_STMT
-Used to represent a @code{goto} statement. The @code{GOTO_DESTINATION}
-will usually be a @code{LABEL_DECL}. However, if the ``computed
-goto'' extension has been used, the @code{GOTO_DESTINATION} will be an
-arbitrary expression indicating the destination. This expression will
-always have pointer type.
+Used to represent a @code{goto} statement. The @code{GOTO_DESTINATION} will
+usually be a @code{LABEL_DECL}. However, if the ``computed goto'' extension
+has been used, the @code{GOTO_DESTINATION} will be an arbitrary expression
+indicating the destination. This expression will always have pointer type.
+Additionally the @code{GOTO_FAKE_P} flag is set whenever the goto statement
+does not come from source code, but it is generated implicitly by the compiler.
+This is used for branch prediction.
@item HANDLER
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 40b9542..ad26c8a 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -5661,7 +5661,9 @@ A C statement or statements to switch to the appropriate section for
output of @var{exp}. You can assume that @var{exp} is either a
@code{VAR_DECL} node or a constant of some sort. @var{reloc}
indicates whether the initial value of @var{exp} requires link-time
-relocations. Select the section by calling @code{text_section} or one
+relocations. Bit 1 is set when variable contains local relocations
+only, while bit 2 is set for global relocations.
+Select the section by calling @code{text_section} or one
of the alternatives for other sections. @var{align} is the constant
alignment in bits.