IBM Support

IV73979: ERROR WITH __BUILTIN_PREFETCH USAGE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When using the __builtin_prefetch compiler built-in, the
    compiler is encountering an internal compiler error.
    
    
       === TEST CASE ===
    
    int main(int argc, char **argv, char **envp)
    {
       __builtin_prefetch(envp, 0, 1);
    }
    
    
    $ xlc -c test.c
        1500-004: (U) INTERNAL COMPILER ERROR while compiling main.
    Compilation ended.  Contact your Service Representative and
    provide the following information: Internal abort. For more
    information visit:
    http://www.ibm.com/support/docview.wss?uid=swg21110810
    $
    

Local fix

Problem summary

  • USERS AFFECTED:
    Only for users of the builtin __builtin_prefetch who try to use
    the function with more than one parameter are affected by this
    issue.
    
    PROBLEM DESCRIPTION:
    The __builtin_prefetch function does not accept more than one
    parameter.
    

Problem conclusion

  • The fix makes it possible to use all three parameters for the
    function __builtin_prefetch.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV73979

  • Reported component name

    XL C FOR AIX

  • Reported component ID

    5725C7100

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-08

  • Closed date

    2015-08-20

  • Last modified date

    2015-08-20

  • 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 #: IV73979

Modified date: 20 August 2015