[Ada] Remove redundant call to Set_Etype for attribute Bit_Order
commita72fd98bf5f1e57fa2ebbacff832bd4f753fd874
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 10 Jan 2022 19:59:57 +0000 (10 20:59 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 9 May 2022 09:27:29 +0000 (9 09:27 +0000)
tree2c1dc449fdb8e9455ae9b0b62275b8226a15b476
parent8e13160b101177b4d0783934d39aab2e2c7b50d9
[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.
gcc/ada/sem_attr.adb