public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
@ 2014-08-25 18:06 ` dprokoptsev at gmail dot com
  2014-08-25 18:11 ` dprokoptsev at gmail dot com
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: dprokoptsev at gmail dot com @ 2014-08-25 18:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #1 from Dmitry Prokoptsev <dprokoptsev at gmail dot com> ---
Created attachment 33394
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33394&action=edit
A simple test case.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
  2014-08-25 18:06 ` [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception() dprokoptsev at gmail dot com
@ 2014-08-25 18:11 ` dprokoptsev at gmail dot com
  2014-08-29 10:27 ` D.Bahadir at GMX dot de
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: dprokoptsev at gmail dot com @ 2014-08-25 18:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #2 from Dmitry Prokoptsev <dprokoptsev at gmail dot com> ---
Created attachment 33395
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33395&action=edit
Proposed patch

I believe the problem is that std::rethrow_exception() does not update
`__cxa_eh_globals::uncaughtExceptions' (which remains zero), while
__cxa_begin_catch() decrements it to -1.

A proposed patch is attached.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
  2014-08-25 18:06 ` [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception() dprokoptsev at gmail dot com
  2014-08-25 18:11 ` dprokoptsev at gmail dot com
@ 2014-08-29 10:27 ` D.Bahadir at GMX dot de
  2014-10-07  9:02 ` ai.azuma at gmail dot com
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: D.Bahadir at GMX dot de @ 2014-08-29 10:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

Deniz Bahadir <D.Bahadir at GMX dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |D.Bahadir at GMX dot de

--- Comment #3 from Deniz Bahadir <D.Bahadir at GMX dot de> ---
I can confirm this bug.
It even occurs with GCC 4.8.2 (on Ubuntu 14.04).


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-08-29 10:27 ` D.Bahadir at GMX dot de
@ 2014-10-07  9:02 ` ai.azuma at gmail dot com
  2015-01-20 10:12 ` p.bartosiewi at partner dot samsung.com
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: ai.azuma at gmail dot com @ 2014-10-07  9:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #5 from Ai Azuma <ai.azuma at gmail dot com> ---
*** Bug 61643 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-10-07  9:02 ` ai.azuma at gmail dot com
@ 2015-01-20 10:12 ` p.bartosiewi at partner dot samsung.com
  2015-02-02 11:02 ` redi at gcc dot gnu.org
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: p.bartosiewi at partner dot samsung.com @ 2015-01-20 10:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

Piotr Bartosiewicz <p.bartosiewi at partner dot samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.bartosiewi at partner dot samsun
                   |                            |g.com

--- Comment #6 from Piotr Bartosiewicz <p.bartosiewi at partner dot samsung.com> ---
I can also confirm this bug (I have a test case with std::async and future, but
it internally uses std::rethrow_exception).

Known to work: gcc 4.6.3, 4.7.2, 4.8.1
Known to fail: gcc 4.8.2, 4.9.2, clang 3.5.0
So this is a regression.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2015-01-20 10:12 ` p.bartosiewi at partner dot samsung.com
@ 2015-02-02 11:02 ` redi at gcc dot gnu.org
  2015-02-06 10:04 ` m.kwiatkowski at avsystem dot com
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: redi at gcc dot gnu.org @ 2015-02-02 11:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-02-02
     Ever confirmed|0                           |1


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2015-02-02 11:02 ` redi at gcc dot gnu.org
@ 2015-02-06 10:04 ` m.kwiatkowski at avsystem dot com
  2015-02-06 19:50 ` public at hansmi dot ch
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: m.kwiatkowski at avsystem dot com @ 2015-02-06 10:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

Mateusz Kwiatkowski <m.kwiatkowski at avsystem dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.kwiatkowski at avsystem dot com

--- Comment #8 from Mateusz Kwiatkowski <m.kwiatkowski at avsystem dot com> ---
Created attachment 34683
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34683&action=edit
Workaround code

For all programmers out there that may encounter this bug, I attach a
workaround code.

Linking your program with it should make rethrow_exception() usable even if the
library on the system is buggy.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2015-02-06 10:04 ` m.kwiatkowski at avsystem dot com
@ 2015-02-06 19:50 ` public at hansmi dot ch
  2015-04-07 14:59 ` [Bug libstdc++/62258] [4.8/4.9/5 Regression] " redi at gcc dot gnu.org
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: public at hansmi dot ch @ 2015-02-06 19:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #9 from M. Hanselmann <public at hansmi dot ch> ---
A few days ago I submitted a patch for this issue based on Dmitry's patch. It
seems as if we can get it in after the 5.0 release.

https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00027.html


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.8/4.9/5 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2015-02-06 19:50 ` public at hansmi dot ch
@ 2015-04-07 14:59 ` redi at gcc dot gnu.org
  2015-04-09 10:46 ` rguenth at gcc dot gnu.org
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: redi at gcc dot gnu.org @ 2015-04-07 14:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
doko, this fails for me with 4.8.1, and 4.7.4 and 4.8.0

There are no changes between 4.8.1 and 4.8.2 that could have affected this.

Are you sure it's a regression?


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.8/4.9/5 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2015-04-07 14:59 ` [Bug libstdc++/62258] [4.8/4.9/5 Regression] " redi at gcc dot gnu.org
@ 2015-04-09 10:46 ` rguenth at gcc dot gnu.org
  2015-04-27 19:45 ` [Bug libstdc++/62258] [4.8/4.9/5/6 " redi at gcc dot gnu.org
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-04-09 10:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.5


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.8/4.9/5/6 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2015-04-09 10:46 ` rguenth at gcc dot gnu.org
@ 2015-04-27 19:45 ` redi at gcc dot gnu.org
  2015-04-27 21:36 ` redi at gcc dot gnu.org
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: redi at gcc dot gnu.org @ 2015-04-27 19:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Apr 27 19:44:30 2015
New Revision: 222480

URL: https://gcc.gnu.org/viewcvs?rev=222480&root=gcc&view=rev
Log:
2015-04-27  Dmitry Prokoptsev  <dprokoptsev@gmail.com>
            Michael Hanselmann  <public@hansmi.ch>

        PR libstdc++/62258
        * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
        uncaught exceptions.
        * testsuite/18_support/exception_ptr/62258.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/18_support/exception_ptr/62258.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/libsupc++/eh_ptr.cc


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.8/4.9/5/6 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2015-04-27 19:45 ` [Bug libstdc++/62258] [4.8/4.9/5/6 " redi at gcc dot gnu.org
@ 2015-04-27 21:36 ` redi at gcc dot gnu.org
  2015-06-23  8:40 ` rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: redi at gcc dot gnu.org @ 2015-04-27 21:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
doko, I'm still curious if you can verify if you see a regression here or not.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.8/4.9/5/6 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2015-04-27 21:36 ` redi at gcc dot gnu.org
@ 2015-06-23  8:40 ` rguenth at gcc dot gnu.org
  2015-06-26 20:03 ` [Bug libstdc++/62258] [4.9/5/6 " jakub at gcc dot gnu.org
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23  8:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.5                       |4.9.3

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
The gcc-4_8-branch is being closed, re-targeting regressions to 4.9.3.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.9/5/6 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2015-06-23  8:40 ` rguenth at gcc dot gnu.org
@ 2015-06-26 20:03 ` jakub at gcc dot gnu.org
  2015-06-26 20:32 ` jakub at gcc dot gnu.org
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.9/5/6 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2015-06-26 20:03 ` [Bug libstdc++/62258] [4.9/5/6 " jakub at gcc dot gnu.org
@ 2015-06-26 20:32 ` jakub at gcc dot gnu.org
  2015-06-30 10:16 ` [Bug libstdc++/62258] [4.9/5 " rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.3                       |4.9.4


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.9/5 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (15 preceding siblings ...)
  2015-06-30 10:16 ` [Bug libstdc++/62258] [4.9/5 " rguenth at gcc dot gnu.org
@ 2015-06-30 10:16 ` rguenth at gcc dot gnu.org
  2015-07-17  9:06 ` D.Bahadir at GMX dot de
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-30 10:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
           Priority|P3                          |P2


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.9/5 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  2015-06-26 20:32 ` jakub at gcc dot gnu.org
@ 2015-06-30 10:16 ` rguenth at gcc dot gnu.org
  2015-06-30 10:16 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-30 10:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org
      Known to work|4.8.1                       |4.8.0, 4.8.2, 6.0
            Summary|[4.9/5/6 Regression]        |[4.9/5 Regression]
                   |uncaught_exception() equals |uncaught_exception() equals
                   |to `true' after             |to `true' after
                   |rethrow_exception()         |rethrow_exception()
      Known to fail|4.8.2, 5.0                  |4.8.3, 4.8.5, 5.1.0

--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> ---
I can confirm it works with 4.8.0 to 4.8.2 but fails since 4.8.3 (just verified
using -static-libstdc++ to not fool myself with the installed runtime).


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.9/5 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (16 preceding siblings ...)
  2015-06-30 10:16 ` rguenth at gcc dot gnu.org
@ 2015-07-17  9:06 ` D.Bahadir at GMX dot de
  2015-07-21 10:25 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: D.Bahadir at GMX dot de @ 2015-07-17  9:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #17 from Deniz Bahadir <D.Bahadir at GMX dot de> ---
Did this fix make it into the latest GCC 5.2.0 release?


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.9/5 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (17 preceding siblings ...)
  2015-07-17  9:06 ` D.Bahadir at GMX dot de
@ 2015-07-21 10:25 ` rguenth at gcc dot gnu.org
  2015-09-03 15:11 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 22+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-21 10:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> ---
No.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.9/5 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (18 preceding siblings ...)
  2015-07-21 10:25 ` rguenth at gcc dot gnu.org
@ 2015-09-03 15:11 ` redi at gcc dot gnu.org
  2015-09-03 16:02 ` redi at gcc dot gnu.org
  2015-09-03 16:06 ` redi at gcc dot gnu.org
  21 siblings, 0 replies; 22+ messages in thread
From: redi at gcc dot gnu.org @ 2015-09-03 15:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Sep  3 15:10:25 2015
New Revision: 227451

URL: https://gcc.gnu.org/viewcvs?rev=227451&root=gcc&view=rev
Log:
Backport fix for PR libstdc++/62258 from mainline

2015-04-27  Dmitry Prokoptsev  <dprokoptsev@gmail.com>
            Michael Hanselmann  <public@hansmi.ch>

        PR libstdc++/62258
        * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
        uncaught exceptions.
        * testsuite/18_support/exception_ptr/62258.cc: New.

Added:
   
branches/gcc-5-branch/libstdc++-v3/testsuite/18_support/exception_ptr/62258.cc
Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/libsupc++/eh_ptr.cc


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.9/5 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (19 preceding siblings ...)
  2015-09-03 15:11 ` redi at gcc dot gnu.org
@ 2015-09-03 16:02 ` redi at gcc dot gnu.org
  2015-09-03 16:06 ` redi at gcc dot gnu.org
  21 siblings, 0 replies; 22+ messages in thread
From: redi at gcc dot gnu.org @ 2015-09-03 16:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Sep  3 16:02:07 2015
New Revision: 227456

URL: https://gcc.gnu.org/viewcvs?rev=227456&root=gcc&view=rev
Log:
Backport fix for PR libstdc++/62258 from mainline

2015-04-27  Dmitry Prokoptsev  <dprokoptsev@gmail.com>
            Michael Hanselmann  <public@hansmi.ch>

        PR libstdc++/62258
        * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
        uncaught exceptions.
        * testsuite/18_support/exception_ptr/62258.cc: New.

Added:
   
branches/gcc-4_9-branch/libstdc++-v3/testsuite/18_support/exception_ptr/62258.cc
Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/libsupc++/eh_ptr.cc


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug libstdc++/62258] [4.9/5 Regression] uncaught_exception() equals to `true' after rethrow_exception()
       [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
                   ` (20 preceding siblings ...)
  2015-09-03 16:02 ` redi at gcc dot gnu.org
@ 2015-09-03 16:06 ` redi at gcc dot gnu.org
  21 siblings, 0 replies; 22+ messages in thread
From: redi at gcc dot gnu.org @ 2015-09-03 16:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #21 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed in 4.9.4, 5.3 and 6.0


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-09-03 16:06 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-62258-4@http.gcc.gnu.org/bugzilla/>
2014-08-25 18:06 ` [Bug libstdc++/62258] uncaught_exception() equals to `true' after rethrow_exception() dprokoptsev at gmail dot com
2014-08-25 18:11 ` dprokoptsev at gmail dot com
2014-08-29 10:27 ` D.Bahadir at GMX dot de
2014-10-07  9:02 ` ai.azuma at gmail dot com
2015-01-20 10:12 ` p.bartosiewi at partner dot samsung.com
2015-02-02 11:02 ` redi at gcc dot gnu.org
2015-02-06 10:04 ` m.kwiatkowski at avsystem dot com
2015-02-06 19:50 ` public at hansmi dot ch
2015-04-07 14:59 ` [Bug libstdc++/62258] [4.8/4.9/5 Regression] " redi at gcc dot gnu.org
2015-04-09 10:46 ` rguenth at gcc dot gnu.org
2015-04-27 19:45 ` [Bug libstdc++/62258] [4.8/4.9/5/6 " redi at gcc dot gnu.org
2015-04-27 21:36 ` redi at gcc dot gnu.org
2015-06-23  8:40 ` rguenth at gcc dot gnu.org
2015-06-26 20:03 ` [Bug libstdc++/62258] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:32 ` jakub at gcc dot gnu.org
2015-06-30 10:16 ` [Bug libstdc++/62258] [4.9/5 " rguenth at gcc dot gnu.org
2015-06-30 10:16 ` rguenth at gcc dot gnu.org
2015-07-17  9:06 ` D.Bahadir at GMX dot de
2015-07-21 10:25 ` rguenth at gcc dot gnu.org
2015-09-03 15:11 ` redi at gcc dot gnu.org
2015-09-03 16:02 ` redi at gcc dot gnu.org
2015-09-03 16:06 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).