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

Composing operations for valarray may fail to compile

    XMLWordPrintable

Details

    • Bug
    • Status: New
    • Low
    • Resolution: Unresolved
    • Code Generation Tools
    • CODEGEN-4099
    • Hide
      ARM_18.1.0.LTS
      MSP430_18.1.0.LTS
      C2000_22.6.0.LTS
      MSP430_20.2.0.LTS
      ARM_18.12.0.LTS
      MSP430_21.6.0.LTS
      C2000_21.6.0.LTS
      MSP430_18.12.0.LTS
      ARM_20.2.0.LTS
      Show
      ARM_18.1.0.LTS MSP430_18.1.0.LTS C2000_22.6.0.LTS MSP430_20.2.0.LTS ARM_18.12.0.LTS MSP430_21.6.0.LTS C2000_21.6.0.LTS MSP430_18.12.0.LTS ARM_20.2.0.LTS
    • Hide
      Due to a potential implementation issue in the libc++ library, utilizing the valarray class and composing a result via multiple operations may fail.

      For example:

      const std::valarray<float> cl(6);
      std::slice arg1(0,0,0);
      std::slice slice(0,0,0);
      cl[arg1][slice]; // Compilation error!
      Show
      Due to a potential implementation issue in the libc++ library, utilizing the valarray class and composing a result via multiple operations may fail. For example: const std::valarray<float> cl(6); std::slice arg1(0,0,0); std::slice slice(0,0,0); cl[arg1][slice]; // Compilation error!

    Description

      Due to a potential implementation issue in the libc++ library, utilizing the valarray class and composing a result via multiple operations may fail.

      For example:

      const std::valarray<float> cl(6);
      std::slice arg1(0,0,0);
      std::slice slice(0,0,0);
      cl[arg1][slice]; // Compilation error!

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: