diff mbox series

[COMMITTED,21/30] ada: Remove message about goto rewritten as a loop

Message ID 20240613133338.1809385-21-poulhies@adacore.com
State New
Headers show
Series [COMMITTED,01/30] ada: Missing dynamic predicate checks | expand

Commit Message

Marc Poulhiès June 13, 2024, 1:33 p.m. UTC
From: Viljar Indus <indus@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 mbox series

Patch

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