From patchwork Tue Sep 6 07:15:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 1011 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp503884wrt; Tue, 6 Sep 2022 00:17:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR6YN3u17hJsYIY1DQUHN8avVx9ydfNhowIk5qIe12R8fLlNGfzEMVW5H9bYhDPy58ukPQaM X-Received: by 2002:a17:907:7678:b0:730:e1ad:b128 with SMTP id kk24-20020a170907767800b00730e1adb128mr39756351ejc.67.1662448652608; Tue, 06 Sep 2022 00:17:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662448652; cv=none; d=google.com; s=arc-20160816; b=Vhb1iftzvle6JzHzQ/R2todqftFy6d75SKiq3cKwN18GSiRkwqXJe+pRXkQ45Kr+T3 WAlQ0kDQf4rmAyFb3QBUOcqAzGfFFHP3YcpLeDGDZ3PBXPnfYsB3LGUNXfUCyHHoEDq+ lcXgtDQA46pMiK3KzQ9T3mKwfcUvGkNI6ifsMDornHyyf3b2Lx3YZl/j8zyoMrzaL/h8 OIbpXm/+3sSqTLtiF1LkDXctFOjlAvJiV24ScKs5GCWqLca7E2d7NK6j/ED/Vg55WfjW CL8vGg5GTC0zyfdw3M+Jdq7y1Y3vc7+lXU8b1wxpxlUXHNoF2NU1edoiqm8q4AOgZ6ca JebA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=U/4fErkXuNZikOv0Ov9Ts3b2PbIeKU60QK5PiSRztLo=; b=fzqBhUls/pddHiqMkoybQNmkZyt7Hr6c6cFBSYUZRC/770N9BdcQ04d7YCQfSfaUB0 G9akBHQz7qbFXDynDqLcb94Dp2atCkHI1kSOondG2qKalT6r/yaeCJExkvEEOc2s418x 0d/LXo7zaMWbDP927icUr6H88LmmK1/eWsQgXzX+ODnDhqcdHI2M08bPWfWA36iuAZFK Ccn0QghCft/p+SEAxt9Z2EiuSbpsh5AK6bdou+Lhl6R+8WcJ9hEktg3+hWr/wXs6nqTx R0NQtArEvl48lRZTCptldQH0z5qwu6dHYByWTZazHh/GfRnBJiYBmKL0+vOL1rI4IcMw yBOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AcZ3+0l3; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id nd11-20020a170907628b00b0074156b2af5fsi5371413ejc.829.2022.09.06.00.17.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 00:17:32 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AcZ3+0l3; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CCE8B383E07E for ; Tue, 6 Sep 2022 07:16:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CCE8B383E07E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662448591; bh=U/4fErkXuNZikOv0Ov9Ts3b2PbIeKU60QK5PiSRztLo=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=AcZ3+0l3CgE7o32S43Ut4KrBcSw441Z4cQgOMwX6o6ttPEEYpB6KTZ67jQ2dojTPr zSXmBCiNYO6ywFhp0e4BAwh/YNGVWDyPFGfuHbQ5CzdiFsB3Ixcd7sbh6rtBpBAed5 GiIfY5qUr5Rix1IpzVDvuLGIXxBY44p2Nql7iNPI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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 Received: by mail-wr1-x435.google.com with SMTP id e13so14034275wrm.1 for ; Tue, 06 Sep 2022 00:15:46 -0700 (PDT) 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-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 To: gcc-patches@gcc.gnu.org Subject: [Ada] Tune message for illegal aspect Relaxed_Initialization Message-ID: <20220906071545.GA1280280@poulhies-Precision-5550> MIME-Version: 1.0 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Marc_Poulhi=C3=A8s_via_Gcc-patches?= From: =?utf-8?q?Marc_Poulhi=C3=A8s?= Reply-To: Marc =?iso-8859-1?q?Poulhi=E8s?= Cc: Piotr Trojanek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1743203758246201653?= X-GMAIL-MSGID: =?utf-8?q?1743203758246201653?= 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. 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;