From patchwork Thu Nov 2 09:02:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam James X-Patchwork-Id: 1858384 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SLdFM3L64z1yQs for ; Thu, 2 Nov 2023 20:03:01 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D5DF13858C39 for ; Thu, 2 Nov 2023 09:02:58 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 4031A3858D28 for ; Thu, 2 Nov 2023 09:02:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4031A3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4031A3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:ea4a:1:5054:ff:fec7:86e4 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698915769; cv=none; b=FkbMnsjwlm4eFsPF5hUNSOp4fs6ffx5z07JATSGqCwE0qT1YH288apT2wOUZenP4i7iCprdawWP5nd1qGlVWoeSjxHekjXjHRYmkOCt7B7moHa7S5IqaeGCxX9JYOkZ3VpogKVXp5zL5vy+bJPoRmM00xoslW36ofF1kxcgJtDw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698915769; c=relaxed/simple; bh=UApb3c9nBRcnTmYqERf/V9jVv/9/0JZn5qPsw2xWI3k=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=wpeL11YlHAWx3zMz2D73XWQNb2bBEUVQM3WKEfSIzYcLVCGQE6Soxqpjd90voYJifF9mtl7nvzUQ2jwtnlq4FbEip6/T+9bREPL4/keZYW6F5kv5d0ZKKZ8R2Of9qSNF3ks5AfP0B1m1ErAF1Gw62l/gHcXWjz+IF7v0bJYLzts= ARC-Authentication-Results: i=1; server2.sourceware.org From: Sam James To: gcc-patches@gcc.gnu.org Cc: Sam James Subject: [PATCH] doc: explicitly say 'lifetime' for DCE Date: Thu, 2 Nov 2023 09:02:30 +0000 Message-ID: <20231102090234.1145382-1-sam@gentoo.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org 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 --- gcc/doc/passes.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/passes.texi b/gcc/doc/passes.texi index eb2bb6062834..470ac498a132 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}.