Question
STM32CUBEIDE Optimisation appears rather random
I have optimisation set to -o2 and every other Property and Preference is default. Processor is a H750. My code has a time critical inner loop which seems to vary from 14 up to 26 instructions for the same code, varying solely on the time of day when it was compiled. Is there something random in the way the compiler begins its optimisation and if so is this something I can turn off ?