[Bug c++/87637] Unwinding does not destroy constructed subobject of brace-initialized temporary

2018-10-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87637

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from Jonathan Wakely  ---
I've updated the summary of PR 57510 and added your testcase, let's close this
one. I'll ping Jason about it too.

*** This bug has been marked as a duplicate of bug 57510 ***

[Bug c++/87637] Unwinding does not destroy constructed subobject of brace-initialized temporary

2018-10-17 Thread hstong at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87637

--- Comment #2 from Hubert Tong  ---
(In reply to Jonathan Wakely from comment #1)
> Dup of PR 57510 ?

Looks like this could be the same as the return statement in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57510#c9. The scope of PR 57510
looks a bit 
unwieldy. I can't say that the summary of PR 57510 is indicative of the issue
either.

[Bug c++/87637] Unwinding does not destroy constructed subobject of brace-initialized temporary

2018-10-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87637

--- Comment #1 from Jonathan Wakely  ---
Dup of PR 57510 ?