Message ID | VI1PR0802MB21766EB31D9A745CF69A539EE7BB0@VI1PR0802MB2176.eurprd08.prod.outlook.com |
---|---|
State | New |
Headers | show |
On Fri, Nov 11, 2016 at 10:36 AM, Bin Cheng <Bin.Cheng@arm.com> wrote: > Hi, > Test gcc.dg/vect/vect-cond-2.c still requires vect_max_reduc to be vectorized, this patch adds the requirement. Ok. Richard. > Thanks, > bin > > gcc/testsuite/ChangeLog > 2016-11-09 Bin Cheng <bin.cheng@arm.com> > > * gcc.dg/vect/vect-cond-2.c: Only drop xfail for targets supporting > vect_max_reduc.
diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-2.c b/gcc/testsuite/gcc.dg/vect/vect-cond-2.c index d7da803..646eac1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-2.c @@ -39,6 +39,6 @@ int main (void) return 0; } -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ +/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { ! vect_max_reduc } } } } */