This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++, ARM]: fix EH catching corner case


Jason Merrill wrote:
On 08/05/2009 11:32 AM, Nathan Sidwell wrote:

we can catch this with 'catch (B *&b)' or 'catch (A *a)', but not 'catch
(A *&a)'.

I wouldn't be so quick to change G++ here, as this is an open core issue:


http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#388

Thanks. The motivation for this patch is that the ARM EABI specifies we should not catch in this case -- and ARM's compiler does not catch. Has there been any movement on the DR since it was filed in 2002?


nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]