From: Viljar Indus <in...@adacore.com>

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

Tested on x86_64-pc-linux-gnu, committed on master.

---
 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 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;
 
       --------------
-- 
2.45.1

Reply via email to