aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-11-02 09:02:30 +0000
committerRichard Biener <rguenther@suse.de>2023-11-02 12:46:23 +0100
commitd8ca8edbd382425e96d424c33e8d5ee99dfc6391 (patch)
tree36882dc6fdc203065acdd281c6737a3d14817631
parentf6284ef38701920865de3c9e18bb3f6068fde4d1 (diff)
downloadgcc-d8ca8edbd382425e96d424c33e8d5ee99dfc6391.zip
gcc-d8ca8edbd382425e96d424c33e8d5ee99dfc6391.tar.gz
gcc-d8ca8edbd382425e96d424c33e8d5ee99dfc6391.tar.bz2
doc: explicitly say 'lifetime' for DCE
Say 'memory lifetime' rather than 'memory life' as lifetime is the more standard term nowadays (indeed we have e.g. -fno-lifetime-dse). It's also easier to grep for if someone is looking for the documentation on where we do that. gcc/ChangeLog: * doc/passes.texi (Dead code elimination): Explicitly say 'lifetime' as this has become the standard term for what we're doing here. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--gcc/doc/passes.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/passes.texi b/gcc/doc/passes.texi
index eb2bb60..470ac49 100644
--- a/gcc/doc/passes.texi
+++ b/gcc/doc/passes.texi
@@ -543,7 +543,7 @@ and is defined by @code{pass_early_warn_uninitialized} and
@item Dead code elimination
This pass scans the function for statements without side effects whose
-result is unused. It does not do memory life analysis, so any value
+result is unused. It does not do memory lifetime analysis, so any value
that is stored in memory is considered used. The pass is run multiple
times throughout the optimization process. It is located in
@file{tree-ssa-dce.cc} and is described by @code{pass_dce}.