aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-12-17 16:21:34 +0100
committerThomas Schwinge <tschwinge@gcc.gnu.org>2013-12-17 16:21:34 +0100
commit2769de23eefe3f5300ad034a01fd92a46895c6c5 (patch)
treef419a8b455bdb14e50308c99f3ec48717145384c /gcc
parentc25a7053e9032fa105c9e8c54c9bd7fa5fc60e1e (diff)
downloadgcc-2769de23eefe3f5300ad034a01fd92a46895c6c5.zip
gcc-2769de23eefe3f5300ad034a01fd92a46895c6c5.tar.gz
gcc-2769de23eefe3f5300ad034a01fd92a46895c6c5.tar.bz2
Document passes.def.
gcc/ * doc/cfg.texi (Control Flow): Refer to passes.def instead of passes.c. * doc/passes.texi (Pass manager): Refer to passes.def. From-SVN: r206054
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/cfg.texi2
-rw-r--r--gcc/doc/passes.texi1
3 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 92d9276..592bb8c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2013-12-17 Thomas Schwinge <thomas@codesourcery.com>
+ * doc/cfg.texi (Control Flow): Refer to passes.def instead of
+ passes.c.
+ * doc/passes.texi (Pass manager): Refer to passes.def.
+
* doc/gccint.texi (Top): Fix inclusion order.
2013-12-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
diff --git a/gcc/doc/cfg.texi b/gcc/doc/cfg.texi
index b759e36..1be3f47 100644
--- a/gcc/doc/cfg.texi
+++ b/gcc/doc/cfg.texi
@@ -23,7 +23,7 @@ used to represent the control flow graph are defined in
In GCC, the representation of control flow is maintained throughout
the compilation process, from constructing the CFG early in
-@code{pass_build_cfg} to @code{pass_free_cfg} (see @file{passes.c}).
+@code{pass_build_cfg} to @code{pass_free_cfg} (see @file{passes.def}).
The CFG takes various different modes and may undergo extensive
manipulations, but the graph is always valid between its construction
and its release. This way, transfer of information such as data flow,
diff --git a/gcc/doc/passes.texi b/gcc/doc/passes.texi
index 3ed9a4f..9a68ad2 100644
--- a/gcc/doc/passes.texi
+++ b/gcc/doc/passes.texi
@@ -208,6 +208,7 @@ semantic checks), it should return @code{GS_ERROR}.
The pass manager is located in @file{passes.c}, @file{tree-optimize.c}
and @file{tree-pass.h}.
+It processes passes as described in @file{passes.def}.
Its job is to run all of the individual passes in the correct order,
and take care of standard bookkeeping that applies to every pass.