On Fri, 17 May 2013, Jakub Jelinek wrote:
On Fri, May 17, 2013 at 04:23:08PM +0200, Marc Glisse wrote:
2013-05-17 Marc Glisse <marc.gli...@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, thanks.
I was actually thinking that it might be better to put the target selector
on dg-final, as in the attached. Which do you prefer?
--
Marc Glisse
Index: gcc.dg/binop-xor3.c
===================================================================
--- gcc.dg/binop-xor3.c (revision 199006)
+++ gcc.dg/binop-xor3.c (working copy)
@@ -1,11 +1,11 @@
/* { dg-do compile } */
/* { 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 { scan-tree-dump-times "\\\^" 1 "optimized" { target i?86-*-*
x86_64-*-* } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */