IBM Support

IV67886: -QFUNSECT CHANGES PROGRAM OUTPUT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When compiling with -qfuncsect, the resulting binary produces
    incorrect results.
    
    ===== ACTUAL OUTPUT:
    $ ./GET_SO_TEST
    111.9: Warning: Non-determinism between alt 1 and 3 upon
    'ALPHA'.
      Alt 1:
        originated by terminal at 111.12
      Alt 3:
        originated by terminal at 111.31
    * 1 warning(s).
    * 33.3333% of 3 decisions are non-desterminic.
    C++ code and byte code were generated successfully.
    $
    
    
    ===== EXPECTED OUTPUT:
    $ ./GET_SO_TEST
    111.9: Warning: Follow non-determinism upon 'ALPHA'.
      Loop:
        originated by terminal at 111.12
      Exit:
        originated by terminal at 111.31
    * 1 warning(s).
    * 33.3333% of 3 decisions are non-desterminic.
    C++ code and byte code were generated successfully.
    $
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    -qfuncsect users may be affected by this issue.
    
    PROBLEM DESCRIPTION:
    When specifying -qfuncsect for compiling, the compiler was
    performing an incorrect indirect addressing from the TOC
    causing an incorrect output during runtime.
    

Problem conclusion

  • The incorrect indrect addressing from the TOC has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV67886

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-15

  • Closed date

    2015-02-26

  • Last modified date

    2015-02-26

  • 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 FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels

  • RC10 PSY

       UP



Document information

More support for: XL C for AIX
Compiler

Software version: 12.1

Reference #: IV67886

Modified date: 26 February 2015