[gcc r13-1645] [Ada] Fix inconsistent comment about expansion of exception declarations

Pierre-Marie de Rodat pmderodat@gcc.gnu.org
Tue Jul 12 12:27:18 GMT 2022


https://gcc.gnu.org/g:7005b5e57eb4ce03f6166d62f7aa60b01677df1f

commit r13-1645-g7005b5e57eb4ce03f6166d62f7aa60b01677df1f
Author: Piotr Trojanek <trojanek@adacore.com>
Date:   Thu Jun 30 12:40:39 2022 +0200

    [Ada] Fix inconsistent comment about expansion of exception declarations
    
    Code cleanup.
    
    gcc/ada/
    
            * exp_ch11.adb (Expand_N_Exception_Declaration): Sync comment
            with declaration in System.Standard_Library.

Diff:
---
 gcc/ada/exp_ch11.adb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/exp_ch11.adb b/gcc/ada/exp_ch11.adb
index c60fe346fad..c4a59f56ce7 100644
--- a/gcc/ada/exp_ch11.adb
+++ b/gcc/ada/exp_ch11.adb
@@ -1136,7 +1136,7 @@ package body Exp_Ch11 is
       Set_Is_Statically_Allocated (Ex_Id);
 
       --  Create the aggregate list for type Standard.Exception_Type:
-      --  Handled_By_Other component: False
+      --  Not_Handled_By_Others component: False
 
       L := Empty_List;
       Append_To (L, New_Occurrence_Of (Standard_False, Loc));


More information about the Gcc-cvs mailing list