From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id A73063846426 for ; Thu, 16 May 2024 09:26:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A73063846426 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A73063846426 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::334 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715851607; cv=none; b=YAatsYU5/Lu+VrsMl6dJBc0KddLk1mbzd4i0hgWf51rCXUHoXfrcKXtFkNiatmaud5PTj9sxlZn8cirxiV4v4faamyMklM4Jd+xgspqvqZjE2pZkynKv7oSpJT75s3nE2Om7almMqbvNA0A4ZpcqUneQu9G/FNEDhNKelYUUtZA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715851607; c=relaxed/simple; bh=nu8iTD18oHs4jhas2PK2XTL3LjCDw/rfeToqPfm5V3Q=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=vOMncTBew21Z6L8T6VMdfQUnSmGF4+xralVFXnPHQrJ7X72e8dVBhot6pbxpdr8stO91hm1KHtIXyBhuXbUSZzHZNYg0BlxYYjaXSuOoZ5mnxDVp3MQ/rzx2etxBqrky1wSIBUmooP7boP4B8Bi+rbCF3fC7NGk4ZLMSJAKrA08= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4202cea9a2fso1740605e9.3 for ; Thu, 16 May 2024 02:26:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1715851596; x=1716456396; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=grRlgs3gVY5gkW869RAmtoatOK+qfWIZ1yl/idXYA9Y=; b=T01gJlJ3l824eA39zfTvhglDXp5j9oD6SM3CCPK7cdC72f2HvxgWWIRrCqG1aSKR7B uk/RDOtkXQr4WzIRVXd3/FrgRGD59oBZnNa6pnXeiafMuJhftqsX6SlLYWWLuuE0153z c8XrtgT7D1KIw+MCRPNo4CfzNsEI4HPKqhAafuIhd3UU5jJu04zAKgasT9oQmhg2+Jbx 5B8YmEgU5HWJMviX3sL/bTH+9TFk/aQvG7PVpf4dOzDhjSQ+FEFZseBHu/sj2EJ77liQ xRDseKBT0HxM8z797EaeNRLY6/tqR4q48+v0Pv76FdlgnfePSeDYHjif7jV2arh54VyY T5sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715851596; x=1716456396; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=grRlgs3gVY5gkW869RAmtoatOK+qfWIZ1yl/idXYA9Y=; b=wpovBvWovFSDsWD3aV5svDAhW+6TCM7/URmFPwjqMmLBL6QBFWykiEKycLySexxT4G ZLshlEZ9/ITylyhWxmsJdGg9PoWkql6VSFhioBVyJiWucHGtDfw47SKskwlGs00XuV5A Iqr4EUHtFPb0TgsINuLapdF5w+IJtrKZ9az62GbEKW9WbZACKGJvV9ntIQP0e9BnsX8X lgl1kQmiPUOqt+7Tn6VI35jNg77YvpBTN0qO+dYTS7MRCK6RX57+/sOAQ2IaEGbnRte5 ZB/2+lUT2epcepcjwfAyRBWkoHOgxiv8/i1xRYO+O1HxzFN8IeYRdghjfsJcNFkK4MJm l20Q== X-Gm-Message-State: AOJu0YwJQHKdrJblwaxMydMQsa/eH6okqV2MvCnD1rTTE7d/OIno+alB lEofXK6npV4nwKkeieWhhbWWE2B1QcU9i9Eb/mvKGFYT6OijSXxj+XaeNghynM2Y3pP403xVWQQ = X-Google-Smtp-Source: AGHT+IElFq+sN7iK1g+XRwtTpWU4mzzq3omhtrGRSNhYS4J9TcWBTd1miIEClVFAdrNXm5cBoyp0cQ== X-Received: by 2002:a05:600c:3caa:b0:41b:55b1:6cfc with SMTP id 5b1f17b1804b1-41feaa2f3a3mr118584015e9.1.1715851596568; Thu, 16 May 2024 02:26:36 -0700 (PDT) Received: from poulhies-Precision-5550.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fd10cf8besm135802635e9.1.2024.05.16.02.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 02:26:36 -0700 (PDT) From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: Eric Botcazou Subject: [COMMITTED 35/35] ada: Remove obsolete reference in comment Date: Thu, 16 May 2024 11:26:04 +0200 Message-ID: <20240516092606.41242-35-poulhies@adacore.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240516092606.41242-1-poulhies@adacore.com> References: <20240516092606.41242-1-poulhies@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 List-Id: From: Eric Botcazou gcc/ada/ * exp_ch7.adb (Attach_Object_To_Master_Node): Remove reference to a transient object in comment. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/exp_ch7.adb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/ada/exp_ch7.adb b/gcc/ada/exp_ch7.adb index f9738e115f9..993c13c7318 100644 --- a/gcc/ada/exp_ch7.adb +++ b/gcc/ada/exp_ch7.adb @@ -798,10 +798,10 @@ package body Exp_Ch7 is return; end if; - -- When the transient object is initialized by an aggregate, the - -- attachment must occur after the last aggregate assignment takes - -- place. Only then is the object considered initialized. Likewise - -- if we have a build-in-place call: we must attach only after it. + -- When the object is initialized by an aggregate, the attachment must + -- occur after the last aggregate assignment takes place; only then is + -- the object considered initialized. Likewise if it is initialized by + -- a build-in-place call: we must attach only after the call. if Ekind (Obj_Id) in E_Constant | E_Variable then if Present (Last_Aggregate_Assignment (Obj_Id)) then -- 2.43.2