Next: Ugly Integer Conversions, Previous: Ugly Complex Part Extraction, Up: Distensions
The constructs disabled by -fno-ugly-init are:
DATA
and PARAMETER
statements, plus
type-declaration statements specifying initial values.
Here are some sample initializations that are disabled by the -fno-ugly-init option:
PARAMETER (VAL='9A304FFE'X) REAL*8 STRING/8HOUTPUT00/ DATA VAR/4HABCD/
Here are more sample initializations that are disabled by the -fno-ugly-init option:
INTEGER IA CHARACTER BELL PARAMETER (IA = 'A') PARAMETER (BELL = 7)
Here are sample statements that are disabled by the -fno-ugly-init option:
IVAR = 4HABCD PRINT *, IMAX0(2HAB, 2HBA)
The above constructs, when used, can tend to result in non-portable code. But, they are widely used in existing Fortran code in ways that often are quite portable. Therefore, they are enabled by default.