gcc/ada/
* sem_attr.adb (Analyze_Attribute): Consistently call
Check_Fixed_Point_Type before checking the number of attribute
expressions (like it is done for floating point types); reuse
Check_Fixed_Point_Type_0.
-----------------
when Attribute_Fixed_Value =>
- Check_E1;
Check_Fixed_Point_Type;
+ Check_E1;
Resolve (E1, Any_Integer);
Set_Etype (N, P_Base_Type);
when Attribute_Small_Denominator
| Attribute_Small_Numerator
=>
- Check_E0;
- Check_Fixed_Point_Type;
+ Check_Fixed_Point_Type_0;
Set_Etype (N, Universal_Integer);
------------------