Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-7827

Optimizer assumes enum variable can only have value of enumeration constants

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed
    • Medium
    • Resolution: Fixed
    • Code Generation Tools
    • CODEGEN-1230
    • SDSCM00052529
    • Hide
      ARM_5.2.0B1
       C2000_6.4.0B1
       C6000_8.1.0B1
      Show
      ARM_5.2.0B1  C2000_6.4.0B1  C6000_8.1.0B1
    • Hide
      PRU_2.1.3
       C6000_8.1.1
       C2000_6.4.10
       ARM_5.2.7
      Show
      PRU_2.1.3  C6000_8.1.1  C2000_6.4.10  ARM_5.2.7
    • Don't make enumerated types with constants only for 0 and 1 if other values may be used. Either add a third value, or use values different than 0 and 1, or avoid using values that aren't the enumeration constants.

    Description

      Optimizer assumes enum variable can only have value of enumeration constants

      Attachments

        Activity

          People

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: