IBM Support

PM27025: Regression between 6.3 and 6.6.3 with Rule MISRA 16_8_iii

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment
    Logiscope 6.6.3
    RuleChecker C
    Rule MISRA 16_8_iii 'For functions with non-void return type,
    the return expression shall match the declared return type'
    
    
    
    Rule MISRA 16_8_iii rule is  made obsolete  as it is covered by
    the 'MISRA 16_8_i' and 'MISRA 16_8_ii' rules..
    But this is not observed with 6.6.3.There are some violations
    that were reported  in 6.3 with MISRA_16_8_iii which are not
    reported in 6.6.3 (with 'MISRA 16_8_i' and 'MISRA 16_8_ii')
    
    Especially, for the following lines:
    M_COD_MIS_083i_MISRA_BIS.c - line 34
    M_COD_MIS_083iii_MISRA.c - line 17
    M_COD_MIS_083iii_MISRA_BIS.c - line 35
    M_COD_MIS_083iii_MISRA_BIS.c - line 43
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Environment
    Logiscope 6.6.3
    RuleChecker C
    Rule MISRA 16_8_iii "For functions with non-void return
    type, the return expression shall match the declared return
    type"
    
    
    
    Rule MISRA 16_8_iii rule is  made obsolete  as it is covered
    by the "MISRA 16_8_i" and "MISRA 16_8_ii" rules..
    But this is not observed with 6.6.3.There are some
    violations that were reported  in 6.3 with MISRA_16_8_iii
    which are not reported in 6.6.3 (with "MISRA 16_8_i" and
    "MISRA 16_8_ii")
    
    Especially, for the following lines:
    M_COD_MIS_083i_MISRA_BIS.c - line 34
    M_COD_MIS_083iii_MISRA.c - line 17
    M_COD_MIS_083iii_MISRA_BIS.c - line 35
    M_COD_MIS_083iii_MISRA_BIS.c - line 43
    

Problem conclusion

  • Fixed in Rational Logiscope 6.6.3 iFix1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM27025

  • Reported component name

    TLOGIC LOGISCOP

  • Reported component ID

    5724V81LS

  • Reported release

    660

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-18

  • Closed date

    2010-12-02

  • Last modified date

    2010-12-02

  • 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

    TLOGIC LOGISCOP

  • Fixed component ID

    5724V81LS

Applicable component levels

  • R660 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYQHS","label":"Rational Logiscope"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.6","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 December 2010