Message ID | 20240516092606.41242-2-poulhies@adacore.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=anjEP2FB; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; 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 [8.43.85.97]) (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 4Vg4VR4jz3z1yfq for <incoming@patchwork.ozlabs.org>; Thu, 16 May 2024 19:26:55 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BC675384AB7B for <incoming@patchwork.ozlabs.org>; Thu, 16 May 2024 09:26:53 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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 841A43849AC6 for <gcc-patches@gcc.gnu.org>; Thu, 16 May 2024 09:26:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 841A43849AC6 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 841A43849AC6 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=1715851572; cv=none; b=ayb5itcgRRPRVpdgjWNU75F5hG8UR96Zf4lTWyrs9wX2cq4EHSzGAvDny37J2YJTuM8I5Q40ysaXfDhhg4EsIwC64qGyjTV+3F02aVFCTpF8+loIQofOLXsYzfSYax9Q+2mmwLJM8c5TfAKN5WRrPLFOwCAyUmiquu8Fkk7fam8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715851572; c=relaxed/simple; bh=nmw/xgZtUQXHy7JtBGJgRtZYmp5I+HSaqPmbDCxjhpE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=XA2yPpedG1YdphBIu7CXqgAEQGzv7KoE8w4IN1z1d9IiJ8ymNnDK/8Kj+CyDL2bkbsgKb5cMVEWteujAApbuiwLg5RaGmwWwZI+1Hi0/Xg6g0SFLW415W5WEKcxUWptcd77wg+7lp3XtWqDJ5pJLxbOWbWTD3/yKE8cVeLXZFh0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4202ca70287so1823905e9.3 for <gcc-patches@gcc.gnu.org>; Thu, 16 May 2024 02:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1715851568; x=1716456368; 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=v+4nGh1DLkYjLWLINX9K/ggPR8MA7+l/QabhTvHbg8Y=; b=anjEP2FBCd1Qkwca4lmqtS5qV91c2AE5b+f8P/SITuf0pZIRC4ZAdSqe36d5Iwov+e yli0vAntATEQZiAMJmpt0y/9LLpQsHusp8Tmw5VqjJEwjY10mWGrm1XT5B6Wt08AXuTj k8EAH6m+wurEZvzyIms/Qix8RJ9M26f0ZMt5h8HXIKCLUwfOofbFgXrLrc9s5RYMnBth 2Na4uiSmyTXB2o0KbMRn2/TI0ldWOAomuLsei0LVDNXDccM1A/UtS+R1goFNPldv9amY nx2Uj89jx3N9Tt5saeXCEAB9rJlUiJaj0+XzNC8xQiWaxjfAtMEVJWcelHa4xXuiz/Cz ridQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715851568; x=1716456368; 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=v+4nGh1DLkYjLWLINX9K/ggPR8MA7+l/QabhTvHbg8Y=; b=aOEDTi+OJr76U1i/fySAq0GANvr8wmudhMvFmCfKGEk4iKt/j4S9cdNUtBEZXjI6+n RH16C7/xo7901N1RUpMQtx4b+Pf8m3xOgUkj1rDIYsqi653tr/2ObRdv1uL828KbVAvZ pFvLaIsPr80R+zZTHhuPNl60Tr1t17abWe3GQ6jFoy8Yjulgl/UZdej1IHDEbUTYw09Q Gv0rSBEKR6H2bMKihJDMgJU23dsPY624JZnMMSMYhBfgL7kOKph7qglM8rNE7GaH51Zv MnGCMp0rwYDCpjiOmNUShnRgbCG3hGiEESnmkn49+Pxv/jnWy9qhFPiU7rZxPU/XedH7 rUZA== X-Gm-Message-State: AOJu0YwkpkpkXOc9keB50Nct01QmECPGigC/tgx/9x1veSnWiK7Z48YC 8zFvBo9eHwf1p/ulyaDqDU2GQuvo2zwarZZDvwm+nbpVI9bs61gaFIgA1fl1BMDA4jBGSLYPEY0 = X-Google-Smtp-Source: AGHT+IG9Wurls6Xdp82JaPvwSywSvFwthRwb5AiUXK2URWO5235+L0TIGdjWM530LAFjKMJMBdDelA== X-Received: by 2002:a05:600c:4714:b0:41b:13d5:7da9 with SMTP id 5b1f17b1804b1-41fead643famr228544735e9.38.1715851568220; Thu, 16 May 2024 02:26:08 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 02:26:07 -0700 (PDT) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> To: gcc-patches@gcc.gnu.org Cc: Piotr Trojanek <trojanek@adacore.com> Subject: [COMMITTED 02/35] ada: Fix casing in error messages Date: Thu, 16 May 2024 11:25:31 +0200 Message-ID: <20240516092606.41242-2-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 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+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
[COMMITTED,01/35] ada: Fix docs and comments about pragmas for Boolean-valued aspects
|
expand
|
diff --git a/gcc/ada/gnat_cuda.adb b/gcc/ada/gnat_cuda.adb index af47b728790..92576a4b397 100644 --- a/gcc/ada/gnat_cuda.adb +++ b/gcc/ada/gnat_cuda.adb @@ -270,7 +270,7 @@ package body GNAT_CUDA is and then Present (Corresponding_Stub (Parent (Bod))) then Error_Msg_N - ("Cuda_Device not suported on separate subprograms", + ("CUDA_Device not suported on separate subprograms", Corresponding_Stub (Parent (Bod))); else Remove (Bod); diff --git a/gcc/ada/sem_ch13.adb b/gcc/ada/sem_ch13.adb index eee2aa09cd5..8bc8e84ceb4 100644 --- a/gcc/ada/sem_ch13.adb +++ b/gcc/ada/sem_ch13.adb @@ -8754,7 +8754,7 @@ package body Sem_Ch13 is Arg : Node_Id; begin if No (UAD_Pragma) then - Error_Msg_N ("No definition for user-defined aspect", Id); + Error_Msg_N ("no definition for user-defined aspect", Id); return; end if;
From: Piotr Trojanek <trojanek@adacore.com> Error messages should not start with a capital letter. gcc/ada/ * gnat_cuda.adb (Remove_CUDA_Device_Entities): Fix casing (this primarily fixes a style, because the capitalization will not be preserved by the error-reporting machinery anyway). * sem_ch13.adb (Analyze_User_Aspect_Aspect_Specification): Fix casing in error message. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/gnat_cuda.adb | 2 +- gcc/ada/sem_ch13.adb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)