From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id 184D63815FDD for ; Mon, 30 May 2022 08:32:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 184D63815FDD Received: by mail-wm1-x32b.google.com with SMTP id f23-20020a7bcc17000000b003972dda143eso7942520wmh.3 for ; Mon, 30 May 2022 01:32:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=QTnUxoSLhtpQZbAFw6AVhJsBynFeXvqkc4/B+SHAqZw=; b=yyBR+SbBgfKA4wNvuNuYB9H18oeeM6g0nlMY6bvBnLL6UuGBwN03GF7RuKO5RRLpBT Ws8jqDTYQRREErPK/fX68YgxvUIZa2XEEvrMoPHP5ti8+BhT7BXaTeQ2X4/HYm7epdrF bS1GaF/fIU7Sh54ttfOAndrj5ELF4I1jGIYW2cbrsIMNwPTq9IuGOas+4iskqYekVm2L /XeMSYUTp7HZ8DGTvWK0MteeX6+bQpJ0lKgFl0wr7uPXkIpbNYfTG2Rb6I5faOicZrzv w7nV6XD0c261EJiqhIebV++PfywotGLzjAQoFZgn5N+Z3/lInhZZFSPzEsjei4eUeLre M66g== X-Gm-Message-State: AOAM531a2C76HCgjYTaL3EeEEYCszZ8jjjJOvb1+pTDXMVEmisSoPLGe Hh7UOOyVGPNyUTSyp6JfsKz4cvAcsLRTDg== X-Google-Smtp-Source: ABdhPJwqys0GmtlWedFdJmJ0EyhDhO1Kzljoo+ltnWWKhonndDmFr9zUEMoNvRwOeNZQGaVv5elD5w== X-Received: by 2002:a05:600c:4311:b0:397:4c1f:9f54 with SMTP id p17-20020a05600c431100b003974c1f9f54mr17948542wme.32.1653899575837; Mon, 30 May 2022 01:32:55 -0700 (PDT) Received: from adacore.com ([45.147.211.82]) by smtp.gmail.com with ESMTPSA id h19-20020a05600c351300b0039456fb80b3sm10114216wmq.43.2022.05.30.01.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 01:32:55 -0700 (PDT) Date: Mon, 30 May 2022 08:32:55 +0000 From: Pierre-Marie de Rodat To: gcc-patches@gcc.gnu.org Cc: Ghjuvan Lacambre Subject: [Ada] Fix Warn_On_All_Unread_Out_Parameters not being properly tagged Message-ID: <20220530083255.GA210957@adacore.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline X-Spam-Status: No, score=-13.2 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-List-Received-Date: Mon, 30 May 2022 08:32:58 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This caused tools ingesting GNAT's output to mislabel these messages. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * sem_warn.adb (Warn_On_Useless_Assignment): Fix insertion character. --tThc/1wpZn/ma/RB Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="patch.diff" diff --git a/gcc/ada/sem_warn.adb b/gcc/ada/sem_warn.adb --- a/gcc/ada/sem_warn.adb +++ b/gcc/ada/sem_warn.adb @@ -4595,7 +4595,7 @@ package body Sem_Warn is then if Warn_On_All_Unread_Out_Parameters then Error_Msg_NE - ("?m?& modified by call, but value might not " + ("?.o?& modified by call, but value might not " & "be referenced", LA, Ent); end if; else --tThc/1wpZn/ma/RB--