https://gcc.gnu.org/g:a028b7f0090e82e79a5458b0e7e34915b377c04c

commit r15-1279-ga028b7f0090e82e79a5458b0e7e34915b377c04c
Author: Viljar Indus <in...@adacore.com>
Date:   Tue Apr 16 12:08:55 2024 +0300

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

Reply via email to