GNU statement expression used as conditional expression crashes parser

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-2982 - GNU statement expression used as co...
                SYNCHRONIZED
                • Last Sync Date: