mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
As we don't use memory allocated in test_calloc, test_no_mem_malloc, and test_no_mem_realloc. malloc call can be optimized away (that really happens with ARC MWDT toolchain). That breaks the test. So disable optimization for these functions. Signed-off-by: Watson Zeng <zhiwei@synopsys.com>