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

Incorrect error due to typedef of very large object

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-4678
    • Hide
      ARP32_1.1.0*
       ARM_18.1.0.LTS
       C2000_18.1.0.LTS
      Show
      ARP32_1.1.0*  ARM_18.1.0.LTS  C2000_18.1.0.LTS
    • Hide
      MSP430_16.9.8.LTS
       ARM_16.9.8.LTS
      Show
      MSP430_16.9.8.LTS  ARM_16.9.8.LTS
    • As a workaround, remove the typedef. Where the typedef was used, instead use the type the typedef refers to.
    • Hide
      The TI compiler infrastructure is incapable of handling user-declared objects above a certain size, because it mistakenly truncates the size of very large objects. Formerly, this resulted in quiet corruption, which was defect CODEGEN-449. Now that CODEGEN-449 is fixed, the compiler will emit an error if the user attempts to create a type larger than the tool can handle. However, this error check is not quite right for typedefs. A typedef for a very large object that is still within the compiler's limit may cause the parser to mistakenly emit an error that the object is greater than the maximum supported size.
      Show
      The TI compiler infrastructure is incapable of handling user-declared objects above a certain size, because it mistakenly truncates the size of very large objects. Formerly, this resulted in quiet corruption, which was defect CODEGEN-449. Now that CODEGEN-449 is fixed, the compiler will emit an error if the user attempts to create a type larger than the tool can handle. However, this error check is not quite right for typedefs. A typedef for a very large object that is still within the compiler's limit may cause the parser to mistakenly emit an error that the object is greater than the maximum supported size.

      Incorrect error due to typedef of very large object

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

              Created:
              Updated:
              Resolved: