https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108575
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >The address 2001 1548 exist not in my map file as variable. It is a stack address. Since UnitDelay_DSTATE is defined on the stack. Comment #2 applies here. The code that GCC compiles seems to be corresponding to the assembly code that GCC is producing too. rtu_AngleMecIn will contain the address of UnitDelay_DSTATE which is a variable on stack inside MotorControlLib_step .