]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Remove message about goto rewritten as a loop
authorViljar Indus <indus@adacore.com>
Tue, 16 Apr 2024 09:08:55 +0000 (12:08 +0300)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 13 Jun 2024 13:30:33 +0000 (15:30 +0200)
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

index 7b793c06ecd5fc444e2fa5ac962155f3d5045447..7ef897f0b481938b3524c57224818aa668a025b1 100644 (file)
@@ -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;
 
       --------------