[EXT_EP-8723] user-supplied allocator function is not called Created: 13/Dec/17 Updated: 16/Nov/22 |
|
Status: | New |
Project: | Embedded Software & Tools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Medium |
Reporter: | TI User | Assignee: | TI User |
Resolution: | Unresolved | Votes: | 0 |
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Product: | Code Generation Tools |
Internal ID: | CODEGEN-4119 |
Found In Release: | 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. |