IBM Support

PK71477: USING -QMETAL GENERATES INVALID CODES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using -qmetal generates invalid codes
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: User of METAL C with memset function         *
    *                 call where both referenced storage           *
    *                 areas reside in the static section.          *
    ****************************************************************
    * PROBLEM DESCRIPTION: The compiler generated additional       *
    *                      DROP and USING instructions             *
    *                      which resulted in wrong base            *
    *                      registers being used in the             *
    *                      generated MVC instruction.              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • EXPECTED ERROR:
    Spurious DROP and USING instructions before an
    MVC instruction.
    
    PROBLEM CONCLUSION:
    The DROP and USING HLASM instructions should only be
    emitted if the base register is the same as the
    already established static area base register.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK71477

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    740

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2008-09-03

  • Closed date

    2008-10-21

  • Last modified date

    2008-12-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PK75893

Modules/Macros

  •    CCNETBY
    

Fix information

  • Fixed component name

    C/C++ FOR MVS

  • Fixed component ID

    56551210A

Applicable component levels

  • R740 PSY UK40282

       UP08/11/25 P F811

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":"740","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":"740","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
09 August 2024