From patchwork Fri Oct 4 03:35:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam James X-Patchwork-Id: 1992581 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 4XKZ356fngz1xsn for ; Fri, 4 Oct 2024 13:36:31 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4AFB2385DDF9 for ; Fri, 4 Oct 2024 03:36:29 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 6F4AA385DDDA for ; Fri, 4 Oct 2024 03:36:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F4AA385DDDA 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 6F4AA385DDDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728012971; cv=none; b=kIi1PR8Xj/wLSn9B1liab/UjINaEUtg16OowDc/nFF2rkf1CdYPu7rIkZMyhoeq5Wk156heWJklaHZKbgjf2b39NzLcCU2UYRj5t07wpEjMBRyHBnzJuS3G/ajP+trAzyUBfFf8H7JA59KivCHf9Bs9EaUYJTnQSH6Cj9al82Hg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728012971; c=relaxed/simple; bh=QO1nW5RebfJJetUuHEaJ3IyUAf66WVfAavvV78cFJfk=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=xvJLvF4iSxZ3M/sS7NhzgFxLU5nbDPWTfOiKsCz+hvn1GkrMPW05uYzWTtfYqB0g6bu7hzXsWHgSw6tg7ndXUnjSEFiqfhcair70iCJ2H+oJ4pTEt4mqKJ7nHaW9q3bPc10LdBz94nP5xxO5A1DAXv1SBW1rjIuMrSFGTerXknA= ARC-Authentication-Results: i=1; server2.sourceware.org From: Sam James To: gcc-patches@gcc.gnu.org Cc: Sam James Subject: [COMMITTED] gcc: fix typo in gimplify Date: Fri, 4 Oct 2024 04:35:56 +0100 Message-ID: <4f0026c26fe0a24a44187cb376a819c6fd976c97.1728012955.git.sam@gentoo.org> X-Mailer: git-send-email 2.46.2 MIME-Version: 1.0 X-Spam-Status: No, score=-10.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP 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 gcc/ChangeLog: * gimplify.cc (gimple_add_init_for_auto_var): Fix 'variable' typo. --- Committed as obvious. gcc/gimplify.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/gimplify.cc b/gcc/gimplify.cc index ceb53e5d5bb7..dd7efa71b742 100644 --- a/gcc/gimplify.cc +++ b/gcc/gimplify.cc @@ -2019,7 +2019,7 @@ gimple_add_init_for_auto_var (tree decl, gimplify_assign (decl, call, seq_p); } -/* Generate padding initialization for automatic vairable DECL. +/* Generate padding initialization for automatic variable DECL. C guarantees that brace-init with fewer initializers than members aggregate will initialize the rest of the aggregate as-if it were static initialization. In turn static initialization guarantees