Compiler fails with Internal Error: Constant Table Error

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-6603
    • Hide
      ARM_18.1.0.LTS
      ARM_16.9.0.LTS
      ARM_18.12.0.LTS
      ARM_20.2.0.beta
      Show
      ARM_18.1.0.LTS ARM_16.9.0.LTS ARM_18.12.0.LTS ARM_20.2.0.beta
    • Hide
      ARM_18.12.4.LTS
      ARM_18.1.7.LTS
      ARM_20.2.0.beta
      Show
      ARM_18.12.4.LTS ARM_18.1.7.LTS ARM_20.2.0.beta
    • default
    • Hide
      Add optimisation (-o0, -o1, ...).
      Use --embedded_constants=off.
      Using --symdebug:none may help, but will impair debugging.
      Show
      Add optimisation (-o0, -o1, ...). Use --embedded_constants=off. Using --symdebug:none may help, but will impair debugging.
    • Hide
      Compiling a file containing long functions with lots of constants -- in this case, one function has 2000 lines and another has almost 13,000 -- without optimisation may abort with a "constant table error" message.

      The compiler is trying to place constants in among the instructions, which usually leads to more efficient code for ARM Cortex devices, but was unable to do so. Turning off embedded constants inhibits the whole pass, while compiling with optimisation reduces the number of constants.
      Show
      Compiling a file containing long functions with lots of constants -- in this case, one function has 2000 lines and another has almost 13,000 -- without optimisation may abort with a "constant table error" message. The compiler is trying to place constants in among the instructions, which usually leads to more efficient code for ARM Cortex devices, but was unable to do so. Turning off embedded constants inhibits the whole pass, while compiling with optimisation reduces the number of constants.

      Compiler fails with Internal Error: Constant Table Error

            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-1982 - Compiler fails with Internal Error:...
                SYNCHRONIZED
                • Last Sync Date: