• stack waste for local variables in case of optimization level 2
    Hello, i am wondering about stack usage with optimization Level 2. Thread job2 uses 264 Bytes on stack. Obviously much more than required. Using optimization Level 0, stack usage is only 168 Bytes...
  • Local variables storage optimization
    Hi , I am using ARM Cortex M4 . When I compile my code I get "No space in Execution region with .ANY selector matching section .const data .When I decrease the code size I am able to compile the...
  • Optimization levels
    Hello all, I'm using uVision v2.2a and C compiler v6.22. As you all know uVision have several optimization levels. After selecting one of the optimization levels and rebuild my project, where can I...
  • Optimization Levels
    Why are there several optimization levels as on would always want to optimize the code to maximum?
  • Declaring local variable causes L15 warnings, but only on optimization level 9
    For reference, please take a look at this older question of mine: https://community.arm.com/developer/tools-software/tools/f/keil-forum/41992/spurious-link-from-isr-to-pr-main Previously, function pointers...