Compiler ARMCLAN 6.21 optimization problem
In the following functions, I count the amount of allocated memory. Getting the alloc size fails with compiler optimization -Os balanced
. The variable allocSzie keeps always the init value 42.
Doing the same access in 2 steps returns the correct value!
And the same statement works in the osFreeMemTest() function!?