[Ada] Remove redundant call to Set_Etype for attribute Bit_Order
Node created by a call to New_Occurrence_Of (RTE (...), ...) has its Etype set. There is no need to follow it with a call to Set_Etype. Cleanup of various Analyze/Resolve routines. gcc/ada/ * sem_attr.adb (Analyze_Attribute): Don't call Set_Etype for Bit_Order attribute.
This commit is contained in:
parent
8e13160b10
commit
a72fd98bf5
1 changed files with 0 additions and 1 deletions
|
@ -3421,7 +3421,6 @@ package body Sem_Attr is
|
|||
New_Occurrence_Of (RTE (RE_Low_Order_First), Loc));
|
||||
end if;
|
||||
|
||||
Set_Etype (N, RTE (RE_Bit_Order));
|
||||
Resolve (N);
|
||||
|
||||
-- Reset incorrect indication of staticness
|
||||
|
|
Loading…
Add table
Reference in a new issue