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

Compiler fails with diagnostic: INTERNAL ERROR: no match for PLUS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-5775
    • Hide
      ARM_16.9.0.LTS
       ARM_18.1.0.LTS
       ARM_18.12.0.LTS
      Show
      ARM_16.9.0.LTS  ARM_18.1.0.LTS  ARM_18.12.0.LTS
    • Hide
      ARM_16.9.11.LTS
       ARM_18.1.6.LTS
       ARM_18.12.2.LTS
      Show
      ARM_16.9.11.LTS  ARM_18.1.6.LTS  ARM_18.12.2.LTS
    • Hide
      Saving the division computation that is the input to the addition in a temporary variable, and then using the temporary variable as the input to the addition avoids the problem.
      For example:
      unsigned int x;
      long long y;
      long long tmp = (long long)x / (long long)1000;
      long long res = y + tmp;
      Show
      Saving the division computation that is the input to the addition in a temporary variable, and then using the temporary variable as the input to the addition avoids the problem. For example: unsigned int x; long long y; long long tmp = (long long)x / (long long)1000; long long res = y + tmp;
    • This bug occurred when an operand to a 64-bit division was an unsigned 32-bit type cast to 64-bits, and the division was an inpu...

      Compiler fails with diagnostic: INTERNAL ERROR: no match for PLUS

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

              Created:
              Updated:
              Resolved: