[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

bitti at iki dot fi gcc-bugzilla@gcc.gnu.org
Wed Oct 17 12:21:00 GMT 2007



------- Comment #2 from bitti at iki dot fi  2007-10-17 12:21 -------
I also tried on other compilers. Sun's compiler (CC: Sun C++ 5.9 SunOS_sparc
Patch 124863-01 2007/07/25) shows the same bug as Gcc. Microsoft Visual Studio
2005 works ok and destroys both objects.


-- 


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



More information about the Gcc-bugs mailing list