[Bug c++/23257] Incorrect exception-handling behavior with references

2021-08-09 Thread redi at gcc dot gnu.org via Gcc-bugs
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.

[Bug c++/23257] Incorrect exception-handling behavior with references

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23257 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #7 from Andrew Pi

[Bug c++/23257] Incorrect exception-handling behavior with references

2009-08-25 Thread bangerth at gmail dot com
--- 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

[Bug c++/23257] Incorrect exception-handling behavior with references

2008-01-20 Thread mmitchel at gcc dot gnu dot org
--- 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

[Bug c++/23257] Incorrect exception-handling behavior with references

2008-01-17 Thread chris dot rimmer at antixlabs dot com
--- 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*',

[Bug c++/23257] Incorrect exception-handling behavior with references

2008-01-16 Thread chris dot rimmer at antixlabs dot com
--- 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

[Bug c++/23257] Incorrect exception-handling behavior with references

2005-10-17 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug c++/23257] Incorrect exception-handling behavior with references

2005-08-05 Thread pinskia at gcc dot gnu dot org
--- 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