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

2024-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #30 from GCC Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b0605cd4a12e9162cc56abc69ca1048947c72689 commit r12-10110-gb0605cd4a12e9162cc56abc69ca1048947c72689 Author: Jason Merrill

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

2024-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #29 from GCC Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:60bfd373a1891ae2349dc67313d104079ce8c706 commit r13-8247-g60bfd373a1891ae2349dc67313d104079ce8c706 Author: Jason Merrill

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

2023-12-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #28 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:02c0b49798228d777610f898cd9d63ebec43656d commit r14-6754-g02c0b49798228d777610f898cd9d63ebec43656d Author: Jason Merrill Date:

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

2023-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #26 from CVS Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e62dd770afde1745c547d05c8163ee5cd639464b commit r13-8077-ge62dd770afde1745c547d05c8163ee5cd639464b Author: Jason Merrill

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

2023-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #27 from CVS Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d237e7b291ff52095d600e6489a54b4ba8aaf608 commit r13-8079-gd237e7b291ff52095d600e6489a54b4ba8aaf608 Author: Jason Merrill

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

2023-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #25 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7fae9873a74c7a5a62044bb6a4cde8e3ac1a5e5d commit r12-9990-g7fae9873a74c7a5a62044bb6a4cde8e3ac1a5e5d Author: Jason Merrill

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

2023-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #24 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:65388a996d7dfcdd22ff2d191458699d1cacf254 commit r12-9988-g65388a996d7dfcdd22ff2d191458699d1cacf254 Author: Jason Merrill

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

2023-11-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #23 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ae07265381d934ee97fb1ce8915731158c91babc commit r14-5086-gae07265381d934ee97fb1ce8915731158c91babc Author: Jason Merrill Date:

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

2023-06-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #22 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:08cea4e56a094ff9cc7c65fdc9ce8c4d7aff64be commit r14-1591-g08cea4e56a094ff9cc7c65fdc9ce8c4d7aff64be Author: Jason Merrill Date:

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

2022-02-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|10.4

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

2022-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #20 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b10e031458d541f794dfaa08ba606487603a4bb6 commit r12-6333-gb10e031458d541f794dfaa08ba606487603a4bb6 Author: Jason Merrill Date:

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

2022-01-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Jason Merrill changed: What|Removed |Added CC||mbtrash at yandex dot ru --- Comment

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

2021-04-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Richard Biener changed: What|Removed |Added Target Milestone|10.3|10.4 --- Comment #18 from Richard

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

2020-07-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Richard Biener changed: What|Removed |Added Target Milestone|10.2|10.3 --- Comment #17 from Richard

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

2020-05-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Jakub Jelinek changed: What|Removed |Added Target Milestone|10.0|10.2 --- Comment #16 from Jakub Jelinek

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

2020-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

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

2020-04-19 Thread mm-nospam at outlook dot co.nz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 mm-nospam at outlook dot co.nz changed: What|Removed |Added CC||mm-nospam at outlook dot

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

2020-01-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #13 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:20afdcd36982752ba012960b862e9be7154b1274 commit r10-6183-g20afdcd36982752ba012960b862e9be7154b1274 Author: Jason Merrill Date:

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

2020-01-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2020-01-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #11 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:bcfc2227c556f2801a657ce3007374732baa8333 commit r10-6077-gbcfc2227c556f2801a657ce3007374732baa8333 Author: Jason Merrill Date:

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

2020-01-15 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #10 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:299ddc612136421f1d9865ea4f2f84f7e3791824 commit r10-5989-g299ddc612136421f1d9865ea4f2f84f7e3791824 Author: Jason Merrill Date:

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

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Jason Merrill changed: What|Removed |Added Known to work||10.0 Target Milestone|---

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

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #9 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7c82dd6c02d44d9d2cd84dda137c00b1a3cd6c90 commit r10-5926-g7c82dd6c02d44d9d2cd84dda137c00b1a3cd6c90 Author: Jason Merrill Date:

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

2019-11-17 Thread dakron.systems at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 dakron changed: What|Removed |Added CC||dakron.systems at gmail dot com --- Comment #8

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

2013-11-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org --- It's now 2013 so the sensible thing to do is not return by value if your destructor can throw. FWIW Clang also behaves the same as G++ and Intel, and of course calls std::terminate()

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

2013-11-28 Thread temporal at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #7 from Kenton Varda temporal at gmail dot com --- It's now 2013 so the sensible thing to do is not return by value if your destructor can throw. That actually sounds like a pretty difficult rule to follow, unless you either ban

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

2013-11-27 Thread temporal at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Kenton Varda temporal at gmail dot com changed: What|Removed |Added CC||temporal at gmail

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

2008-09-19 Thread bitti at iki dot fi
--- Comment #4 from bitti at iki dot fi 2008-09-19 12:12 --- (In reply to comment #3) Similar to Bug 15764. I ran again into this bug in gcc 4.3.2. Any idea when there's time to fix it? Matti Rintala -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799

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

2007-10-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-10-17 12:03 --- As a data point, EDG based icpc behaves the same. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

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

2007-10-17 Thread bitti at iki dot fi
--- 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. --

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

2007-10-17 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2007-10-17 17:07 --- Similar to Bug 15764. -- jason at gcc dot gnu dot org changed: What|Removed |Added