[PATCH] Fix altivec PR c/6290

Jakub Jelinek jakub@redhat.com
Mon Apr 15 08:59:00 GMT 2002


On Mon, Apr 15, 2002 at 04:51:28PM +0100, Bernd Schmidt wrote:
> > +{
> > +  vector signed int c;
> > +  unsigned long d;
> > +
> > +  *(unsigned long *) &c = x;
> 
> I'd prefer not to use broken code like this in testcases.

I couldn't reproduce it with union { vector signed int v; unsigned long l; } c;
That's why I wrote -fno-strict-aliasing there; though if you have better
testcase, ...

	Jakub



More information about the Gcc-patches mailing list