Fixes are available
XL C/C++ for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL C for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL C for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 22 (September 2015 PTF) for 11.1
XL C for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C for AIX Fix Pack 24 (September 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 24 (September 2016 PTF) for 11.1
XL C for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL C for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL C for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL C for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL C for AIX Fix Pack 22 (September 2015 PTF) for 11.1
APAR status
Closed as program error.
Error description
The following test case shows that the compiler is unnecessarily ignoring PDF information with the warning message. 508: TEST1>cat test1.C #include <cstdio> int foo1() { return printf("foo1\n");} int foo2() { return printf("foo2\n");} int foo3() { return printf("foo3\n");} int fooN() { return printf("fooN\n");} int main() { int i; for (i=0; i<100000; i++) { switch (i%17) { case 1: foo1(); break; case 2: foo2(); break; case 3: foo3(); break; case 18: goto bye; default: fooN(); } } bye: return 0; } 509: TEST1>xlC -qpdf1 -O test1.C 510: TEST1>./a.out >/dev/null 511: TEST1>xlC -qpdf2 -qnoipa -O test1.C 1586-475 (W) New definition of function "main" is inconsistent with profiling data found in file "._pdf" from the pdf1 phase. Source files and/or compilation options may differ between the pdf1 and pdf2 phases. PDF Information will be ignored for function "main".
Local fix
Use -qxflag=nunsswe
Problem summary
PROBLEM DESCRIPTION: The synchronization point between PDF1 compile and PDF2(NOIPA) compile is different, which causes the compiler to falsely identify 'main' as a modified function (ie. it thinks the source has changed for that function). USERS AFFECTED: Users of Compile-time PDF.
Problem conclusion
The problem is fixed. Apply available service.
Temporary fix
Comments
APAR Information
APAR number
IV40580
Reported component name
XL C/C++ AIX
Reported component ID
5724X1300
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-04-24
Closed date
2013-08-13
Last modified date
2013-08-13
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
XL C FOR AIX
Fixed component ID
5724X1200
Applicable component levels
Document Information
Modified date:
03 October 2021