Fixes are available
XL C for AIX Fix Pack 16 (July 2016 Update) for 12.1
XL C/C++ for AIX Fix Pack 16 (July 2016 Update) for 12.1
XL C/C++ for AIX Fix Pack 17 (November 2016 Update) for 12.1
XL C for AIX Fix Pack 17 (November 2016 Update) for 12.1
XL C for AIX Fix Pack 18 (February 2017 Update) for 12.1
XL C/C++ for AIX Fix Pack 18 (February 2017 Update) for 12.1
XL C for AIX Fix Pack 19 (August 2017 Update) for 12.1
XL C/C++ for AIX Fix Pack 19 (August 2017 Update) for 12.1
XL C for AIX Fix Pack 20 (March 2018 Update) for 12.1
XL C/C++ for AIX Fix Pack 20 (March 2018 Update) for 12.1
XL C/C++ for AIX Fix Pack 21 (January 2019 Update) for 12.1
XL C for AIX Fix Pack 21 (January 2019 Update) for 12.1
APAR status
Closed as program error.
Error description
When compiling with the -qinfo compile option with the cnd message group enabled, and invalid error message is output claiming a syntax error, with no line number. cnd | nocnd Possible redundancies or problems in conditional expressions. === TEST CASE === void a(void) { enum { b = 1/(int)( 1*sizeof(int) >= sizeof(char) ) }; } $ xlc -c test.c -qinfo=cnd 1506-046 (S) Syntax error. $
Local fix
Avoid -qinfo=cnd usage.
Problem summary
PROBLEM DESCRIPTION: The issue occurs during casting of the evaluated sizeof() expressions. USERS AFFECTED: Users with code containing a similar code pattern as above, and the -qinfo=cnd option
Problem conclusion
The issue was corrected and the error message is no longer output.
Temporary fix
Comments
APAR Information
APAR number
IV85383
Reported component name
XL C/C++ FOR AI
Reported component ID
5725C7200
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-06-06
Closed date
2016-06-21
Last modified date
2016-06-21
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
5725C7100
Applicable component levels
Document Information
Modified date:
19 August 2024