From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id 8798F38515FD for ; Tue, 6 Sep 2022 07:15:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8798F38515FD Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wr1-x435.google.com with SMTP id e13so14034275wrm.1 for ; Tue, 06 Sep 2022 00:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date; bh=U/4fErkXuNZikOv0Ov9Ts3b2PbIeKU60QK5PiSRztLo=; b=fBcZixdXc6ai7KhQ0B8nPS7eOqFKZcJ3VA2o2h0spBZbPVTkgIoVxt40iCn/r4XLRe S1e2Ya7ra7Bz0FVFRp6yBLo9jvy4fEytugsgiYs/UaO0AF113CZITVCJDMEg79jDoHPj jXTf+tbkoRrB/1Usqlj11Pes1KYVro8QX3A44xAwUq/go9hlbHURoe5s79rXm5feW/o3 YCKtpVtZc5h/4XpSRbijZPB7FIaWkMqU6euIwUG/YvzfoFtmmF/aqfJ17S+NDDb3cUiW ODVm4HTUWlKnog8BUMirgQGHc75QTz+RVWPYbhOBQDOZJ0rMSBsAMIuTBLaLbWzy102E XtuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=U/4fErkXuNZikOv0Ov9Ts3b2PbIeKU60QK5PiSRztLo=; b=k5p1h3Jf98xjRD8FiRdHJq83Is+2uhltVTS4z9WMciEZMOb0nYYBrnt6NM3tZwn4h1 S+9/5BldLG0pTAI5Jpiau8EYLK9y5dwkJh1OeDgb7Txgk51PrPVJPWMLvEWMjMkid9qz KwuXLLBsGF9pcN7sm4U08HlAB6Ui5fUI/hGQFax3iBqnGcdtMeXZaR7wnDYLIjlXohpv eRv2VCzOXabrlh+94Rfyu0kZMc4MzoHMF3dmkbKuELqNAILL988+YKa1FjvuASVEoHpK qAYbxphioucjB4BV0raFwFxZMisf9MGU9JRbPCVLHsXzMpERko21jOt+LXFLqPucLdQZ SSRw== X-Gm-Message-State: ACgBeo3OmhO1JngrRwTQYO3U1QmtyDjgRkgoT6nJjzv605DavqBHZSfN lXOVX/BZUW4gBKgVLgoJpbfso9WRIHE7Bg== X-Google-Smtp-Source: AA6agR5YpyvHXuRJp/C+2jc9GU6Rw4fCW6WFkyQvXoQzq6N8XQZk4KxY54MNMxru2U8i8Q9foQYNRA== X-Received: by 2002:a5d:4d4c:0:b0:226:e356:9a0 with SMTP id a12-20020a5d4d4c000000b00226e35609a0mr18854671wru.165.1662448546267; Tue, 06 Sep 2022 00:15:46 -0700 (PDT) Received: from poulhies-Precision-5550 (static-176-191-105-132.ftth.abo.bbox.fr. [176.191.105.132]) by smtp.gmail.com with ESMTPSA id l7-20020a05600c1d0700b003a62052053csm25460095wms.18.2022.09.06.00.15.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 00:15:45 -0700 (PDT) Date: Tue, 6 Sep 2022 09:15:45 +0200 From: Marc =?iso-8859-1?Q?Poulhi=E8s?= To: gcc-patches@gcc.gnu.org Cc: Piotr Trojanek Subject: [Ada] Tune message for illegal aspect Relaxed_Initialization Message-ID: <20220906071545.GA1280280@poulhies-Precision-5550> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline X-Spam-Status: No, score=-12.9 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,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 List-Id: --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Error message about illegal aspect Relaxed_Initialization was lacking a whitespace character. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * sem_ch13.adb (Analyze_Aspect_Relaxed_Initialization): Fix error template. --0F1p//8PRICkK4MW Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="patch.diff" diff --git a/gcc/ada/sem_ch13.adb b/gcc/ada/sem_ch13.adb --- a/gcc/ada/sem_ch13.adb +++ b/gcc/ada/sem_ch13.adb @@ -2293,7 +2293,7 @@ package body Sem_Ch13 is then Error_Msg_Name_1 := Nam; Error_Msg_N - ("expression of aspect %" & + ("expression of aspect % " & "must be static", Aspect); end if; --0F1p//8PRICkK4MW--