From: Viljar Indus Date: Tue, 16 Apr 2024 09:08:55 +0000 (+0300) Subject: ada: Remove message about goto rewritten as a loop X-Git-Tag: basepoints/gcc-16~8274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a028b7f0090e82e79a5458b0e7e34915b377c04c;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ada/par-labl.adb b/gcc/ada/par-labl.adb index 7b793c06ecd..7ef897f0b48 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; --------------