This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: TYPE_VECTOR_OPAQUE broken
- From: Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: DJ Delorie <dj at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 28 Jul 2009 18:24:09 -0400
- Subject: Re: TYPE_VECTOR_OPAQUE broken
- References: <200907282006.n6SK66xI002036@greed.delorie.com> <4A6F65CA.4040407@gnu.org>
On Tue, Jul 28, 2009 at 10:55:38PM +0200, Paolo Bonzini wrote:
> >Why? This is causing problems with the mep-elf port, which uses
> >opaque vectors extensively.
>
> Because the existence of deprecated types (not TYPE_DECLs!) in
> c-common.c is undocumented, and unfortunately it didn't show up on
> PowerPC. But even though its testcases are limited, I would have
> thought that gcc.target/powerpc/spe1.c would have triggered it.
However, spe1.c is only run when the target is powerpc-linuxspe to enable the
test. I didn't see any results from a linuxspe system in July's
gcc-testresults. The Altivec/VSX part of the powerpc compiler doesn't use
opaque vectors, but instead prefers to have overloaded builtins that return the
appropriate builtin function based on the argument types.
--
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com