IV84572: INTERNAL COMPILER ERROR WITH -O2 AND VARIABLE INIT
Fixes are available
Closed as program error.
Compiling an application containing a variable initialization with boolean conditional evaluation with -O2 is encountering an internal compiler error. === EXAMPLE CODE === Note: not a standalone test case unsigned long val d = !( ((1L<<(value1)) & (number)) != 0L ) || !( ((1L<<(value2)) & (number)) != 0L ); $ xlC -c -O2 test.c 1500-004: (U) INTERNAL COMPILER ERROR while compiling func1. Compilation ended. Contact your Service Representative and provide the following information: Internal abort. For more information visit: http://www.ibm.com/support/docview.wss?uid=swg21110810 $
Do not use optimization.
PROBLEM DESCRIPTION: Internal compiler error when internal-compiler code representation is unexpected/invalid for code optimization. USERS AFFECTED: Users of optimization.
The code representation issue has been resolved, and the problem is fixed.
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