]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: explicitly say 'lifetime' for DCE
authorSam James <sam@gentoo.org>
Thu, 2 Nov 2023 09:02:30 +0000 (09:02 +0000)
committerRichard Biener <rguenther@suse.de>
Thu, 2 Nov 2023 11:46:23 +0000 (12:46 +0100)
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>
gcc/doc/passes.texi

index eb2bb6062834c96377822e9c6e3b806d3d76b4f9..470ac498a132830d6e9dc9c27a80ebff8a920e67 100644 (file)
@@ -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}.