This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Exception propagation problem on IA-64/Linux
- From: Richard Henderson <rth at redhat dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 27 Oct 2005 13:47:39 -0700
- Subject: Re: Exception propagation problem on IA-64/Linux
- References: <200510272221.08304.ebotcazou@adacore.com>
On Thu, Oct 27, 2005 at 10:21:08PM +0200, Eric Botcazou wrote:
> We have run into an exception propagation problem on IA-64/Linux. An
> admittedly contrived C++ testcase is attached.
I'm not sure that the C++ testcase is in fact valid. A lawyer would
have to actually weigh in on that claim.
> The problem pertains to the type_info objects emitted for the exceptions:
> while the exceptions in t.C and u.C are unrelated, these objects are the
> same. On IA-32 they are local to the translation unit, but on IA-64 they are
> DECL_ONE_ONLY because of dw2_force_const_mem.
Try again on ia32 with -fpic. That should go through
dw2_force_const_mem just the same.
> Thoughts?
I don't think this is an EH problem at all. I think the test case
is either invalid, or that the bug is in the C++ front end in how we
mangle (or not) the local class.
r~