Make gcc.dg/pr34856.c use powerpc_altivec_ok

Janis Johnson janis187@us.ibm.com
Mon Jun 9 19:33:00 GMT 2008


On Sat, 2008-06-07 at 16:35 +0000, Joseph S. Myers wrote:
> The test gcc.dg/pr34856.c uses -maltivec on powerpc*-*-linux*.  This
> needs to be restricted by powerpc_altivec_ok.  On other
> powerpc*-*-linux*, it needs to use -w to avoid the warning about
> passing generic vectors.  OK to commit this patch?

OK.

> (Possibly both powerpc*-*-linux* should actually be powerpc*-*-*?)

I think powerpc*-*-linux* is correct.

> 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* gcc.dg/pr34856.c: Condition use of -maltivec on
> 	powerpc_altivec_ok.  Use -w on other powerpc*-*-linux*.

Janis



More information about the Gcc-patches mailing list