PM32688: 'Valid is broken at Optimization level 1

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • 'valid doesn't work for a type (or subtype) with only a single
    enumeration
    at OPTIMIZATION_LEVEL 1. It always returns Valid.
    
    Example type:
    
     type Spare_Type is (Zero);
    
    Even using a subtype like this still fails:
    
     type Bit_Type is (Zero, One);
    
     subtype New_Spare_Type is Bit_Type range Zero .. Zero;
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    incomplete processing of 'Valid
    

Problem conclusion

  • Ada compiler corrected
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM32688

  • Reported component name

    APEX EMB ADA UN

  • Reported component ID

    5724G1702

  • Reported release

    44L

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-14

  • Closed date

    2012-07-18

  • Last modified date

    2012-07-18

  • 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

    APEX EMB ADA UN

  • Fixed component ID

    5724G1702

Applicable component levels

  • R44L PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Apex Embedded

Software version:

4.4.L

Reference #:

PM32688

Modified date:

2012-07-18

Translate my page

Machine Translation

Content navigation