IV39183: Different FILE NAMING OF CPP OUTPUT FROM -D
Closed as user error.
Source files preprocessed by CPP that are kept by using the -d compiler option have their file suffixes set to the Fortran-specific version suffix, instead of *.f. For example, the preprocessed file name for test.F90 will be Ftest.f90. In previous versions of the compiler, the file name would be Ftest.f .
This change of behaviour is expected, and this is now the correct compiler behaviour starting with XL Fortran V14.1 . The reason for the change was to ensure that XLF compiles the preprocessed source with the correct Fortran compiler default options. This keeps the behaviour consistent when recompiling preprocessed files, which now have the correct language level file suffix. For example: $ xlf x.f90 ==> Picks the F90 defaults. Equivalent to 'xlf90 x.f90' $ xlf x.F90 ==> Picks the F90 defaults. Equivalent to 'xlf90 x.F90' $ xlf -d x.F90 ==> Picks the F90 defaults. - Equivalent to 'xlf90 Fx.f90' (with V14.1) - Equivalent to 'xlf Fx.f' (with V13.1 and older) The problem with the last command above is that previous compilers would generate a file named 'Fx.f', which would have had the wrong compiler default options used if a user compiled it again with 'xlf Fx.f' . By making the extension of the generated file correspond to the original extension (with lowercase), the file can be compiled again with 'xlf Fx.f90' and use the correct compiler default options. If a workaround is required, the CPP preprocessor can be called explicitly, and the output name can be controlled with the -o option.
Reported component name
XL FORTRAN FOR
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following: