https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23257
--- Comment #8 from Jonathan Wakely ---
LLVM's libc++abi.so gives the same result, because it's a property of the
Itanium ABI not GCC's implementation of it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23257
Andrew Pinski changed:
What|Removed |Added
Keywords||wrong-code
--- Comment #7 from Andrew Pi
--- Comment #6 from bangerth at gmail dot com 2009-08-25 13:58 ---
Confirmed.
Nathan, is this the bug you had worked on? If so, it may be of interest to
add a link to your patch to this PR for reference.
W.
--
bangerth at gmail dot com changed:
What|Removed
--- Comment #5 from mmitchel at gcc dot gnu dot org 2008-01-20 20:13
---
This is a known bug in the Itanium C++ ABI. ARM noticed this; there variant of
the C++ ABI has the additional is_reference parameter precisely to correctly
handle this case.
I looked at this in some detail at one
--- Comment #4 from chris dot rimmer at antixlabs dot com 2008-01-17 09:52
---
Sorry - my earlier comment was addressing the behaviour of GCC with respect to
the DR, not the program in this bug report.
The situation in the DR is where the static type of the thrown object is
'Derived*',
--- Comment #3 from chris dot rimmer at antixlabs dot com 2008-01-16 12:08
---
I've just encountered the same issue. My reading of the standard says that it
is a bug.
15.3 [except.handle] paragraph 3
A handler is a match for an exception object of type E if
- The handler is of t
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-17 15:05 ---
Hmm, this looks related to DR 388.
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#388
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23257
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-06
06:09 ---
Hmm, ICC 8.0 produces the same result as GCC.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23257