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

GNU statement expression used as conditional expression crashes parser

    XMLWordPrintable

Details

    • Bug
    • Status: Declined
    • Medium
    • Resolution: Duplicate
    • Code Generation Tools
    • CODEGEN-9072
    • ARM_20.2.5.LTS
    • default
    • Hide
      Given
      if ( statement-expression ) block;
      change it to
      bool test = statement-expression;
      if ( test ) block;
      Show
      Given if ( statement-expression ) block; change it to bool test = statement-expression; if ( test ) block;
    • The TI compiler supports the GNU statement expression language extension. If a statement expression is used as the conditional expression in an "if" statement, the compiler may crash.
    • Duplicate of P4 issue CODEGEN-4942

    Description

      The TI compiler supports the GNU statement expression language extension. If a statement expression is used as the conditional expression in an "if" statement, the compiler may crash.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: