IBM Support

LI75433: COMPILER ERROR WITH -QNOSAVE AND -O4

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling a source file with the -qnosave and -O4 options,
    the compiler is encountering an internal error.
    
    >xlf -c testcase.f -O4 -qnosave
    ** testcase   === End of Compilation 1 ===
    1586-346 (U) An error occurred during code generation.  The code
    generation return code was -1.
    1501-511  Compilation failed for file testcase.f.
    

Local fix

  • Use a lower optimization level.
    

Problem summary

  • USER AFFECTED:
    Any fortran code with computed goto.
    
    PROBLEM DESCRIPTION:
    A transformation in the higher optimzier will add a statement
    between
    the compiler generated code corresponding the the goto which
    was not legal.
    

Problem conclusion

  • When adding a statement in the bad optimization, check if it is
    being placed in
    the correct location.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75433

  • Reported component name

    XL FORTRAN RHEL

  • Reported component ID

    5724U8410

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-04-27

  • Closed date

    2010-04-27

  • Last modified date

    2010-04-27

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

    LI74975

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

Fix information

  • Fixed component name

    XL FORTRAN RHEL

  • Fixed component ID

    5724U8410

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSB259","label":"XL Fortran Advanced Edition for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
24 February 2022