IBM Support

LI76291: COMPILER WARNING WITH -QIPA -QINLGLUE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A compiler warning is encountered when a simple test case is
    compiled with '-qipa -qinlglue'.
    
    This warning message is generated by a particular component of
    the compiler that is not responsible for implementing
    '-qinlglue'. The implementation of this option is
    successfully handled by the low level optimizer despite the
    warning message that is generated by the high level optimizer.
    
    ===== TESTCASE:
    hello.c:
    #include <stdio.h>
    
    int main ()
    {
            printf("%s\n", "Hello, world!");
            return 0;
    }
    =========================================
    
    
    ===== ACTUAL OUTPUT:
    $ xlc -q64 -qipa -qinlglue hello.c
    1586-002 (W) Suboption "" of option "" is not supported.
    1586-001 (W) Option "-qinlglue" is not valid.
    $
    
    
    ===== EXPECTED OUTPUT:
    Compilation completes without warning message.
    
    $ xlc -q64 -qipa -qinlglue hello.c
    $
    

Local fix

  • N/A.
    

Problem summary

  • PROBLEM DESCRIPTION:
    Compiler warning with -qipa -qinlglue
    
    USERS AFFECTED:
    Users of optimization levels -O3 or higher.
    

Problem conclusion

  • The high level optimizer is not responsible for implementing
    '-qinlglue' and is incorrectly generating this warning message.
    The fix just involves having the high level optimizer recognize
    that -qinlglue and -qnoinlglue are valid compiler options.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76291

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5724X1400

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-07-12

  • Closed date

    2011-07-12

  • Last modified date

    2011-07-12

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

    IZ97229

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5724X1400

Applicable component levels

  • RB10 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":"B10","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
16 October 2021