From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1914) id BAD253815FE6; Mon, 30 May 2022 08:31:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BAD253815FE6 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Pierre-Marie de Rodat To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-846] [Ada] Add insertion character to Ineffective_Inline_Warnings messages X-Act-Checkin: gcc X-Git-Author: Ghjuvan Lacambre X-Git-Refname: refs/heads/master X-Git-Oldrev: 94cf3d1f78d727cc30d526bf175eb72c6e3344b2 X-Git-Newrev: 9baae5692bd594024e3131589b8b1e1bfb6e77c1 Message-Id: <20220530083138.BAD253815FE6@sourceware.org> Date: Mon, 30 May 2022 08:31:38 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2022 08:31:38 -0000 https://gcc.gnu.org/g:9baae5692bd594024e3131589b8b1e1bfb6e77c1 commit r13-846-g9baae5692bd594024e3131589b8b1e1bfb6e77c1 Author: Ghjuvan Lacambre Date: Tue Apr 26 09:55:04 2022 +0200 [Ada] Add insertion character to Ineffective_Inline_Warnings messages This enables tools that ingest GNAT's output to properly classify these messages. gcc/ada/ * inline.adb (Check_Package_Body_For_Inlining): Add insertion character. Diff: --- gcc/ada/inline.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/ada/inline.adb b/gcc/ada/inline.adb index cc10c2933e4..00c1e033030 100644 --- a/gcc/ada/inline.adb +++ b/gcc/ada/inline.adb @@ -2804,8 +2804,8 @@ package body Inline is elsif Ineffective_Inline_Warnings then Error_Msg_Unit_1 := Bname; Error_Msg_N - ("unable to inline subprograms defined in $??", P); - Error_Msg_N ("\body not found??", P); + ("unable to inline subprograms defined in $?p?", P); + Error_Msg_N ("\body not found?p?", P); return; end if; end if;