mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-12 09:06:15 +00:00
The __attribute__((optimize("-O0"))) attribute is used to disable optimization of some test functions. ARC MWDT toolchain doesn't support it, however it supports __attribute__((optnone)) with similar functionality. Define __no_optimization attribute across all toolchains so it can be used in tests. NOTE: we don't define __no_optimization for XCC as it includes GCC header with __no_optimization defined. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> |
||
---|---|---|
.. | ||
common.h | ||
gcc.h | ||
mwdt.h | ||
xcc_missing_defs.h | ||
xcc.h | ||
zephyr_stdint.h |