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

FOR-loop containing IF-statement will unroll incorrectly if followed by infinite loop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-1184
    • SDSCM00052214
    • C6000_7.4.0B1
    • C6000_7.4.16
    • Hide
      Use "#pragma UNROLL(1)" to inhibit unrolling, which avoids the problem. Move either the problem loop or the infinite loop into a separate function, and make sure they don't inline. Compile at -o1 or -o0, which will also inhibit unrolling and avoid the problem.
      Show
      Use "#pragma UNROLL(1)" to inhibit unrolling, which avoids the problem. Move either the problem loop or the infinite loop into a separate function, and make sure they don't inline. Compile at -o1 or -o0, which will also inhibit unrolling and avoid the problem.

      FOR-loop containing IF-statement will unroll incorrectly if followed by infinite loop

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

              Created:
              Updated:
              Resolved: