Message ID | 20240521073035.314024-2-poulhies@adacore.com |
---|---|
State | Committed |
Commit | b22c01db9a8cbc4030af4353a7b4d01be2c6123f |
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 62092385840D for <patchwork@sourceware.org>; Tue, 21 May 2024 07:31:40 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by sourceware.org (Postfix) with ESMTPS id 6A7B33858D33 for <gcc-patches@gcc.gnu.org>; Tue, 21 May 2024 07:30:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6A7B33858D33 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 6A7B33858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::22d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716276653; cv=none; b=YWM8y2apy96aiH9GYrP3FyCw8KkVkRmGFVfBVTBYYXbU9arcaZzIY44PCoe6K6TLibsMlJ5SdO2Mg/bnV59su9o1x66GrHTnVNK2Vp4FBm2KjcvjMlsCyOSpN3n4N+2OTXtCppDxU46S1oHlIsjMUzUCc0zILnNwUcguWV94a/A= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716276653; c=relaxed/simple; bh=C9rECyO/xUJ1i0KNoDFp3Z0/Fg+qHQWfJ0p75RRYsmg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=nQPwXUB5L+FNxDRTj0nAQmSSBONrC4WQwbuOKOEfnGriGtRMCneisoVx+wQCM8LtxmCn7jG/B09wJ4UAMW5wD6siqMV08hr/jqJlS0SuI4tmDLZntslFmDmPw0S3twU0hLvbeZtHc8VwVDtklYLXr4ry2fE/Ej6/sBRSCBu6ga0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2e271acb015so65233141fa.1 for <gcc-patches@gcc.gnu.org>; Tue, 21 May 2024 00:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1716276650; x=1716881450; 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=0XamGX/FV1J0NOZiIgOyEaMrVMqzxaSKBSR14k62yI8=; b=CR7ox2R7qKO1HSWH3gOGKyZeRXEWU8NtZAPO9f7Ikxr8R/3MXzLcgnBMC6cAeodw15 612hAa31AAyGyIm+6cL4DbNOhzaY/Jt6PbkNr4Cy3b2Hejh4T4ZCPA/9LbrYjCSKkBiI zSDc9IckvO6H0y46AzOAyCMARRZMKSNf0PYXMQcQKniN2gDgVfSR7HclHlMRFtKU+KPa GX7MC3ljQvCmETIf9OqM6SwhLdL9uYXdig7uazkfOvGgN4GtaXqKdneiJBbFDHpiXLcc 1j61sPHD3F9GFTFJMLUKqbUtyLs5s1njDofFGwSp0ZTOMDp8Nkl3l0QgHHzevwxcp+bm JOEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716276650; x=1716881450; 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=0XamGX/FV1J0NOZiIgOyEaMrVMqzxaSKBSR14k62yI8=; b=rgNN8cko8QTxqZLeTe5cEEOrQanpJdYsoaBRN7hBWPqM9I0VivVwf0NB7TeEJtbFUT 1esrxaZ4cS/2tbQ2B3EIF18zn4eoD2ASKGMg4fX1SZvkzpksB9U0eBPuStXrE5dZ2RpJ 1HVnIZ+4f5gkt/JrFuNryHPU0mcm2Tp5RarkZayuxF5a3LCkMTZX2drJ3vn/q3VY9/sl zMXDxuuACdS33zCgVSO9pqlk461DSUkh0SnuDcEfFEKusiOkOsNmlXuvgUak5cMyrnMy UFuoFJ96j8eo0j2MiEVNlvDyoKnMSNtcZvdLfTEcw2yPkty8pWOwk7rSSYhLgGEwnTto g5Yw== X-Gm-Message-State: AOJu0YwEM7o0FROV0Q+G19f/I0apuY6WEyVwSffLt5G+0sb6KJcVSsL1 h7uoSylcglRlYw9jSPKMh/Q+rxvBpFXvZCTJ5/5PJGjHgtopWWyydeEYB+mNbVfqARpRC/7nvSM = X-Google-Smtp-Source: AGHT+IE0HdhT9iwaBF4QEXsEnRcI6ckClLxWWgToZ5MjpzrpI6qRcb/ZHgZX3N4iQeTt/dXi1rGw0A== X-Received: by 2002:a2e:b0d6:0:b0:2e2:55:4edd with SMTP id 38308e7fff4ca-2e51fd42b59mr213434231fa.3.1716276649687; Tue, 21 May 2024 00:30:49 -0700 (PDT) Received: from localhost.localdomain ([2001:861:3382:1a90:de37:8b1c:1f33:2610]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccee9292sm453333645e9.37.2024.05.21.00.30.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 00:30:49 -0700 (PDT) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> To: gcc-patches@gcc.gnu.org Cc: Eric Botcazou <ebotcazou@adacore.com> Subject: [COMMITTED 02/31] ada: Follow-up fix to previous change for Text_Ptr Date: Tue, 21 May 2024 09:30:05 +0200 Message-ID: <20240521073035.314024-2-poulhies@adacore.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240521073035.314024-1-poulhies@adacore.com> References: <20240521073035.314024-1-poulhies@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.8 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org |
Series |
[COMMITTED,01/31] ada: Add new Mingw task priority mapping
|
|
Commit Message
Marc Poulhiès
May 21, 2024, 7:30 a.m. UTC
From: Eric Botcazou <ebotcazou@adacore.com>
The variable would be saved and restored while still uninitialized.
gcc/ada/
* err_vars.ads (Error_Msg_Sloc): Initialize to No_Location.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/err_vars.ads | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/err_vars.ads b/gcc/ada/err_vars.ads index 113dd936db6..838217b95f4 100644 --- a/gcc/ada/err_vars.ads +++ b/gcc/ada/err_vars.ads @@ -107,7 +107,7 @@ package Err_Vars is -- WARNING: There is a matching C declaration of these variables in fe.h - Error_Msg_Sloc : Source_Ptr; + Error_Msg_Sloc : Source_Ptr := No_Location; -- Source location for # insertion character in message Error_Msg_Name_1 : Name_Id;