A fix is available
APAR status
Closed as program error.
Error description
After inlining a function, the compiler is not taking advantage of the known return type from the inline function. This can add unnecessary code when dealing with different data types.
Local fix
Problem summary
PROBLEM DESCRIPTION: The return type from certain inlined functions (for example, popcnt8, popcnt4, cntlz8, cntlz4) are restricted to 'int' but the compiler does not take advantage of this. USERS AFFECTED: Affects only performance when using inlined functions that can be restricted to int. Functionality is not affected.
Problem conclusion
Change made to allow the compiler to optimize without the (int) cast.
Temporary fix
Comments
APAR Information
APAR number
LI78436
Reported component name
XL C/C++ FOR LI
Reported component ID
5725C7300
Reported release
D10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-02-25
Closed date
2015-02-25
Last modified date
2015-02-25
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/C++ FOR LI
Fixed component ID
5725C7300
Applicable component levels
RD10 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"13.1","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
17 October 2021