Skip to main content

PM79164: METAL ERROR FOR INT32_MIN WITH ARCH7


A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The ASM code generated by below C sample program compiled with
    Metal
    and ARCH(7) and above gives error.
    
    t.c:
    #include <metal.h>
    #include <stdint.h>
    int testprog(long long ll) {
       if (ll < INT32_MIN) {
         return 1;
       }
       return 0;
    }
    
    cc -Wc,METAL,GENASM,LP64,"ARCH(7)" t.c -S -I /usr/include/metal
    as t.s
     00006C 0000 0000 0000 00000 41 CGFI 14,-2147483648 000004
     ASMA146E Self-defining term too long or value too large -
    2147483648
    

Local fix

  • Use ARCH(6)
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: User of metal c compiler                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Metal error for INT32_MIN with ARCH(7)  *
    *                      and above.                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Apply provided service.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM79164

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    780

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-13

  • Closed date

    2013-02-15

  • Last modified date

    2013-04-02

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

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

Modules/Macros

  • CCNETBY
    

Fix information

  • Fixed component name

    C/C++ FOR MVS

  • Fixed component ID

    56551210A

Applicable component levels

  • R780 PSY UK91712

       UP13/03/13 P F303

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.

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

z/OS family


Software version:
7.8


Operating system(s):
z/OS


Reference #:
PM79164


Modified date:
2013-04-02

Translate my page

Content navigation