IV97494: LONG COMPILE TIME WITH -QHOT AND PRINTF STATEMENTS
Fixes are available
XL C for AIX Fix Pack 9 (June 2017 Update) for 13.1
XL C/C++ for AIX Fix Pack 9 (June 2017 PTF) for 13.1
XL C for AIX Fix Pack 10 (February 2018 Update) for 13.1
XL C/C++ for AIX Fix Pack 10 (February 2018 PTF) for 13.1
XL C/C++ for AIX Fix Pack 11 (November 2018 PTF) for 13.1
XL C for AIX Fix Pack 11 (November 2018) for 13.1
Closed as program error.
When trying to compile a test case which has a lot of printf statements and using -qhot, the compile time with V13.1 goes up drastically. ===== COMPILE COMMAND: xlc -qhaltonmsg=1506-304 -qlanglvl=extc99 -g5 -q64 -qinfo=pro -brtl -qarch=pwr8 -qtune=pwr8:balanced -O2 -qhot -qcpluscmt -qchars=signed -qhalt=e -qcheck=all -DSERVICE_MODULE -DUSE_TCACHE -DTCACHE_ON -DGLOBALCB -DAUTOFREECB -DTRACE -DDEBUG -DTMAX5 -D__PTHREAD_STATIC test.c ===== TESTCASE: A testcase with 100,000 printf calls
USERS AFFECTED: Users who have a lot of printf statemetns and who make use of -qhot maybe affected by this issue. PROBLEM DESCRIPTION: An internal function recursively collects information about every basic code block; which ends up taking a signficant amount of time.
A hard limit has been implemented for such recursive calls; which now reduces the time.
Reported component name
XL C FOR AIX
Reported component ID
NoSpecatt / Xsystem
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 C FOR AIX
Fixed component ID
Applicable component levels