This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix COMDAT group of thunks
Jakub Jelinek wrote:
On Fri, Feb 25, 2005 at 01:50:42PM +0000, Nathan Sidwell wrote:
With covariancy THUNK_TARGET can itself be a thunk. Do you need an
if (THUNK_P (target))
target = THUNK_TARGET (target)
here? (and in use_thunk?)
How do you think should a testcase for that look like?
I have tried g++.dg/abi/covariant*.C and on none of the these
abi/covariant4.C contains such a case. In use_thunk it encounters such a
condition (I think use_thunk handles it incorrectly, btw). I don't have
a comdat-group supporting assembler - binutils 2.15 segfaults during the
configure test. do you know what version is good on i86?
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
firstname.lastname@example.org :: http://www.planetfall.pwp.blueyonder.co.uk