From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24969 invoked by alias); 19 Jul 2010 12:56:25 -0000 Received: (qmail 24919 invoked by uid 48); 19 Jul 2010 12:56:14 -0000 Date: Mon, 19 Jul 2010 12:56:00 -0000 Message-ID: <20100719125614.24918.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/25722] Stackpointer is not restored correct at end of function In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "anitha dot boyapati at atmel dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg01920.txt.bz2 ------- 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