[Issue 6308] Destruction of temporaries on exception causes unhandled access violation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 13 13:56:00 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6308
Rainer Schuetze <r.sagitario at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |r.sagitario at gmx.de
--- Comment #7 from Rainer Schuetze <r.sagitario at gmx.de> 2011-08-13 13:55:58 PDT ---
I had a quick look at the disassembly generated for the code in comment 5, and
it turns out that the frame handler pointer is zero, instead of identical code
"C c; c.oops();" that generates something like
mov edx,dword ptr fs:[0]
push offset __Dmain+77h // this is 0 for "C().oops();"
push edx
mov dword ptr fs:[0],esp
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list