[Bug middle-end/43365] [4.5 Regression] Destructor not called when returning in exception handler

2010-04-12 Thread erik at ejohansson dot se
--- Comment #6 from erik at ejohansson dot se 2010-04-12 20:50 --- Tested with latest Debian gcc-snapshot on the code where I originally saw the problem and it works now. Thank you very much. Tested with: gcc (Debian 20100408-1) 4.5.0 20100408 (prerelease) [gcc-4_5-branch revision

[Bug c++/43365] [4.5 Regression] Destructor not called when returning in exception handler

2010-03-14 Thread erik at ejohansson dot se
--- Comment #1 from erik at ejohansson dot se 2010-03-14 13:57 --- Created an attachment (id=20103) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20103&action=view) Sample code that triggers the error With gcc 4.4.3: /usr/bin/g++ -o exception exception.cc && ./

[Bug c++/43365] New: [4.5 Regression] Destructor not called when returning in exception handler

2010-03-14 Thread erik at ejohansson dot se
iority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: erik at ejohansson dot se GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43365