More vector folding

Jakub Jelinek jakub@redhat.com
Fri May 17 14:34:00 GMT 2013


On Fri, May 17, 2013 at 04:23:08PM +0200, Marc Glisse wrote:
> 2013-05-17  Marc Glisse  <marc.glisse@inria.fr>
> 
> 	PR regression/57313
> 	* gcc.dg/binop-xor3.c: Restrict to platforms known to work (x86).

I'd say it should be PR testsuite/57313 (and the PR changed to that).

Ok with that change, if some other target maintainer sees this test passing
on his platform, it can be added to the target selector later.

> --- gcc.dg/binop-xor3.c	(revision 199006)
> +++ gcc.dg/binop-xor3.c	(working copy)
> @@ -1,11 +1,11 @@
> -/* { dg-do compile } */
> +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
>  /* { dg-options "-O2 -fdump-tree-optimized" } */
>  
>  int
>  foo (int a, int b)
>  {
>    return ((a && !b) || (!a && b));
>  }
>  
>  /* { dg-final { scan-tree-dump-times "\\\^" 1 "optimized" } } */
>  /* { dg-final { cleanup-tree-dump "optimized" } } */


	Jakub



More information about the Gcc-patches mailing list