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

user-supplied allocator function is not called

    XMLWordPrintable

Details

    • Bug
    • Status: New
    • Medium
    • Resolution: Unresolved
    • Code Generation Tools
    • CODEGEN-4119
    • 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

    Description

      A user-supplied allocator function is not called.

      The test checks to make sure that a user-supplied allocator function is actually called during the construction of a unordered_multiset object where one of the template parameters is the pointer to the user-supplied allocator function.

      While at least some of the unordered_multiset constructor functions appear to utilize the user-supplied allocator function, there are also some that do not and in this particular test, one of the constructors that does not call the user-supplied allocator function is called. The test is monitoring whether or not the user-supplied allocator function gets called via a global flag, and since the allocator function is not called, the test fails.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: