Crashes on PPC VMX tests
Nathan Sidwell
nathan@codesourcery.com
Fri Aug 20 15:35:00 GMT 2004
Mark Mitchell wrote:
> Nathan --
>
> I'm seeing build_int_cst assertion failures on gcc.dg/vmx/debug-3.c and
> a bunch of other tests. These are on powerpc64-none-linux-gnu; probably
> reproducable with a cross-compiler.
this fixes this rs6000 specific breakage. we were using copy_node to create
a new type, because build_type_copy is not applicable here. I'm guessing
copy_node worked ok because TYPE_NEXT_VARIANT, TYPE_POINTER_TO and
TYPE_REFERENCE_TO happened to be NULL at this point.
I decided to create build_distinct_type_copy and rename build_type_copy to
build_variant_type_copy, to make the distinction between these to functions,
er, distinct.
Andrew, it might be that the patch for the objc failure you told me about
will want to use one of these new functions.
booted and tested on i686-pc-linux-gnu, and built and tested on
powerpc64-unknown-linux-gnu, ok?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vmx.patch
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040820/9c1b6c0f/attachment.ksh>
More information about the Gcc
mailing list