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

switch statement where controlling expression is C++ scoped enum with underlying type smaller than int crashes compiler unle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-6476
    • C6000_8.3.0
    • C6000_8.3.5
    • Hide
      Doing any of the following will work around the bug:
      - use any level of optimization from -O0 to -O3
      - change the scoped enum to an unscoped enum
      - specify the size of the enum as int or unsigned int
      - change the switch to a tree of if/then/else statements
      Show
      Doing any of the following will work around the bug: - use any level of optimization from -O0 to -O3 - change the scoped enum to an unscoped enum - specify the size of the enum as int or unsigned int - change the switch to a tree of if/then/else statements
    • Compiling a C++ test case containing a switch statement where the condition is a scoped enum (a C++11 feature) with underlying t...

      switch statement where controlling expression is C++ scoped enum with underlying type smaller than int crashes compiler unle

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

              Created:
              Updated:
              Resolved: