IV31636: APPLICATION SEGFAULT AT -O3
Fixes are available
November 2012 PTF for XL Fortran for AIX, V14.1
March 2013 PTF for XL Fortran for AIX, V14.1
XL Fortran for AIX Fix Pack 5 (September 2013 PTF) for 14.1
XL Fortran for AIX Fix Pack 10 (February 2015 PTF) for 14.1
XL Fortran for AIX Fix Pack 11 (May 2015 PTF) for 14.1
XL Fortran for AIX Fix Pack 12 (August 2015 Update) for 14.1
XL Fortran for AIX Fix Pack 14 (December 2015 Update) for 14.1
XL Fortran for AIX Fix Pack 15 (April 2016 Update) for 14.1
XL Fortran for AIX Fix Pack 16 (July 2016 Update) for 14.1
XL Fortran for AIX Fix Pack 17 (November 2016 Update) for 14.1
Closed as program error.
When compiling a large application with -O3, the resulting binary segfaults at runtime. The issue appears to be related to the -O3 optimization level; as when decresing the optimization to -O2 avoid the issue.
Use -O2 instead of -O3 to avoid the issue.
USERS AFFECTED: Users who compile at PPC 64 bit and at -O3 can be affected by this issue. PROBLEM DESCRIPTION: The max and min builtin functions for unsigned 32 bit quantities fails for expressions that have non zero values in the upper bits.
The compiler has been fixed by cleaning the upper bits of the expression before generating the code sequence for unsigned 32 bit min and max when -q64 is specified.
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:
Fixed component name
XL FORTRAN FOR
Fixed component ID
Applicable component levels
RE10 PSN U856076