[Bug target/25722] Stackpointer is not restored correct at end of function

anitha dot boyapati at atmel dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 19 12:56:00 GMT 2010



------- Comment #3 from anitha dot boyapati at atmel dot com  2010-07-19 12:56 -------

When I tried with AVR Studio 4.18, Build 684, the program didn't crash.

I think the issue is not with compiler. Disassembly looks proper and call to
Evaluate() is returned. This can be verified by using breakpoints in assembly
statements.

119:          Evaluate();
+0000023E:   940E0056    CALL      0x00000056     Call subroutine
+00000240:   CFFF        RJMP      PC-0x0000      Relative jump

However when I tried to put breakpoint for 'while' statement, it did not work
out as the corresponding source line couldn't be found in the program memory.
This differs from the expected behavior.


-- 

anitha dot boyapati at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anitha dot boyapati at atmel
                   |                            |dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25722



More information about the Gcc-bugs mailing list