diff --git a/gcc/ada/sem_attr.adb b/gcc/ada/sem_attr.adb index 07719614edc0044a9a7d8f7f474975dbf2ffc63d..308e5cfcd8168ba56f74fb1fb0ad45dafeaa1e4f 100644 --- a/gcc/ada/sem_attr.adb +++ b/gcc/ada/sem_attr.adb @@ -4766,7 +4766,10 @@ package body Sem_Attr is -- Machine_Size -- ------------------ - when Attribute_Machine_Size => + when Attribute_Machine_Size + | Attribute_Object_Size + | Attribute_Value_Size + => Check_E0; Check_Type; Check_Not_Incomplete_Type; @@ -4993,11 +4996,7 @@ package body Sem_Attr is -- Object_Size -- ----------------- - when Attribute_Object_Size => - Check_E0; - Check_Type; - Check_Not_Incomplete_Type; - Set_Etype (N, Universal_Integer); + -- Shares processing with Machine_Size attribute --------- -- Old -- @@ -7161,11 +7160,7 @@ package body Sem_Attr is -- Value_Size -- ---------------- - when Attribute_Value_Size => - Check_E0; - Check_Type; - Check_Not_Incomplete_Type; - Set_Etype (N, Universal_Integer); + -- Shares processing with Machine_Size attribute ------------- -- Version --