From a028b7f0090e82e79a5458b0e7e34915b377c04c Mon Sep 17 00:00:00 2001 From: Viljar Indus Date: Tue, 16 Apr 2024 12:08:55 +0300 Subject: [PATCH] ada: Remove message about goto rewritten as a loop This message provides only inner details of how the compiler handles this kind of construct and does not provide meaningful information that the user can interact on. gcc/ada/ * par-labl.adb (Rewrite_As_Loop): Remove info message --- gcc/ada/par-labl.adb | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/ada/par-labl.adb b/gcc/ada/par-labl.adb index 7b793c06ecd5..7ef897f0b481 100644 --- a/gcc/ada/par-labl.adb +++ b/gcc/ada/par-labl.adb @@ -356,9 +356,6 @@ procedure Labl is Remove (Loop_Header); Rewrite (Loop_End, Loop_Stmt); - Error_Msg_N - ("info: code between label and backwards goto rewritten as loop??", - Loop_End); end Rewrite_As_Loop; -------------- -- 2.47.2