H.1 Pragma Normalize_Scalars
This Reference Manual output has not been verified, and may contain omissions or errors. Report any problems on the tracking issue
This pragma ensures that an otherwise uninitialized scalar object is set to a predictable value, but out of range if possible.
Syntax
2The form of a pragma
Normalize_Scalars is as follows:
pragma Normalize_Scalars;
Post-Compilation Rules
4Pragma Normalize_Scalars is a configuration pragma. It applies to all compilation_unit
s included in a partition.
Documentation Requirements
5/2If a pragma
Normalize_Scalars applies, the implementation shall document the implicit initial values for scalar subtypes, and shall identify each case in which such a value is used and is not an invalid representation.
pragma
Normalize_Scalars applies, the implicit initial values of scalar subtypes shall be documented. Such a value should be an invalid representation when possible; any cases when is it not shall be documented.Implementation Advice
6/2Whenever possible, the implicit initial values for a scalar subtype should be an invalid representation (see 13.9.1).