diff options
| -rw-r--r-- | gcc/ada/sem_ch10.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/sem_ch10.adb b/gcc/ada/sem_ch10.adb index aab186c..2d1232e 100644 --- a/gcc/ada/sem_ch10.adb +++ b/gcc/ada/sem_ch10.adb @@ -828,6 +828,7 @@ package body Sem_Ch10 is -- of the child unit does not act as spec any longer. Set_Acts_As_Spec (N, False); + Move_Aspects (From => Unit_Node, To => Unit (Lib_Unit)); Set_Is_Child_Unit (Defining_Entity (Unit_Node)); Set_Debug_Info_Needed (Defining_Entity (Unit (Lib_Unit))); Set_Comes_From_Source_Default (SCS); |
