A fix is available
APAR status
Closed as program error.
Error description
The April 2017 z/OS XL C/C++ V2R2 PTF contained APAR PI79089 for an issue with the C/C++ XPLINK calling convention for structs containing floating point values: PI79089: INCORRECT C++ CALLING CONVENTION FOR STRUCT IN XPLINK MODE http://www.ibm.com/support/docview.wss?uid=swg1PI79089 The fix was enabled by using option: FEDBG(-qdebug=EnableHFA). A new fix has now been implemented that fixes the issue by default, and no longer requires the FEDBG option. The option will now be ignored by the compiler and will not affect generated code.
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: Users of XLC mixing C and C++ with a * * function call returning POD with 2 floating * * point members in XPLINK mode. * **************************************************************** * PROBLEM DESCRIPTION: C++ does not use floating point * * registers to return C struct with 2 * * floating point members. When this * * function is called within C++ there is * * no issue. However, when it's called * * from a function compiled with the C * * compiler the caller will not get the * * correct value back. * **************************************************************** .
Problem conclusion
Apply service provided. Fix is now enabled by default.
Temporary fix
Comments
APAR Information
APAR number
PI88204
Reported component name
C/C++ FOR MVS
Reported component ID
56551210A
Reported release
7A0
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-10-03
Closed date
2017-10-03
Last modified date
2017-11-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
CCNECICS CCNECWI CCNED220 CCNEDSCT CCNEDWRT CCNEFILT CCNEHIFC CCNEMDEP CCNEOPTP CCNEP CCNEPP CCNETBY CCNMSGE CCNMSGT
Fix information
Fixed component name
C/C++ FOR MVS
Fixed component ID
56551210A
Applicable component levels
R7A0 PSY UI50367
UP17/10/04 P F710
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7A0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSQKCWV","label":"IBM C\/C++ for MVS\/ESA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7A0","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
10 August 2024