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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-1921 - switch statement where controlling ...
                SYNCHRONIZED
                • Last Sync Date: