public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/29166]  New: broken unwind information for many life variables resulting in register corruption
@ 2006-09-21 13:34 matz at gcc dot gnu dot org
  2006-09-21 13:35 ` [Bug middle-end/29166] " matz at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: matz at gcc dot gnu dot org @ 2006-09-21 13:34 UTC (permalink / raw)
  To: gcc-bugs

Attached is a testcase which shows that some registers are clobbered
over throwing/catching an exception:

bash>c++ unwind_test.cpp                
bash>./a.out                            
Checksum not OK ( 42895 != 58377 ).     
Register corruption in stack unwinding.

In the debugger you can see, that the fixed integer registers r4-r7 are 
not reset correctly during stack unwinding. The value of the            
callee-saved registers r4-r7 differ before and after the call to test() 
from main().

This error was reported against gcc-3.3.3 but still happens with gcc 4.1.


-- 
           Summary: broken unwind information for many life variables
                    resulting in register corruption
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Keywords: EH
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: matz at gcc dot gnu dot org
  GCC host triplet: ia64-linux


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-01-01 22:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-21 13:34 [Bug middle-end/29166] New: broken unwind information for many life variables resulting in register corruption matz at gcc dot gnu dot org
2006-09-21 13:35 ` [Bug middle-end/29166] " matz at gcc dot gnu dot org
2006-09-21 13:39 ` matz at gcc dot gnu dot org
2006-09-21 13:40 ` matz at gcc dot gnu dot org
2006-11-15 15:52 ` [Bug target/29166] " matz at gcc dot gnu dot org
2006-11-24 22:20 ` patchapp at dberlin dot org
2006-11-24 22:31 ` pinskia at gcc dot gnu dot org
2007-01-01 22:03 ` schwab at gcc dot gnu dot org
2007-01-01 22:07 ` schwab at gcc dot gnu dot org
2007-01-01 22:11 ` schwab at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).