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~