[Bug c++/34158] Template delete doesn't call if exception thrown in constructor

2009-11-19 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2009-11-20 02:37 --- . -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/34158] Template delete doesn't call if exception thrown in constructor

2009-11-19 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2009-11-20 02:31 --- Fixed -- jason at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|---

[Bug c++/34158] Template delete doesn't call if exception thrown in constructor

2009-11-10 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-11-10 18:19 --- Subject: Bug 34158 Author: jason Date: Tue Nov 10 18:18:51 2009 New Revision: 154072 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154072 Log: PR c++/34158 PR c++/36406 * call.c (non_p

[Bug c++/34158] Template delete doesn't call if exception thrown in constructor

2009-11-09 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/34158] Template delete doesn't call if exception thrown in constructor

2008-11-01 Thread jwakely dot gcc at gmail dot com
--- Comment #6 from jwakely dot gcc at gmail dot com 2008-11-01 16:18 --- This is a compile-time test which should fail because undef cannot be instantiated, but the deallocation function is not used. #include template class undef; struct A { A() { throw 1; } }; template class P

[Bug c++/34158] Template delete doesn't call if exception thrown in constructor

2008-05-23 Thread steve_cheng at scotiacapital dot com
--- Comment #5 from steve_cheng at scotiacapital dot com 2008-05-23 13:44 --- Created an attachment (id=15677) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15677&action=view) -save-temps when compiling C++ testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34158

[Bug c++/34158] Template delete doesn't call if exception thrown in constructor

2008-05-23 Thread steve_cheng at scotiacapital dot com
--- Comment #4 from steve_cheng at scotiacapital dot com 2008-05-23 13:43 --- Created an attachment (id=15676) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15676&action=view) C++ test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34158

[Bug c++/34158] Template delete doesn't call if exception thrown in constructor

2008-05-23 Thread steve_cheng at scotiacapital dot com
--- Comment #3 from steve_cheng at scotiacapital dot com 2008-05-23 13:41 --- I have hit the same bug as the original reporter. Attached is a simplified test case. Run with: $ g++ -v -save-temps -o testPlacementDelete testPlacementDelete.C $ ./testPlacementDelete placement new call

[Bug c++/34158] Template delete doesn't call if exception thrown in constructor

2008-05-15 Thread andry at inbox dot ru
--- Comment #2 from andry at inbox dot ru 2008-05-15 14:10 --- Version 4.3.0 (Release), bug still doesn't fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34158

[Bug c++/34158] Template delete doesn't call if exception thrown in constructor

2008-01-27 Thread andry at inbox dot ru
--- Comment #1 from andry at inbox dot ru 2008-01-28 02:46 --- In gcc 4.3 (trunk, 2008.01.27), bug still doesn't fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34158