From da225f53f918c13111f19484e8b87cea023f5be2 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 16 Nov 2015 08:57:42 +0000 Subject: [PATCH] bb-slp-32.c: Adjust testcase. 2015-11-16 Richard Biener * gcc.dg/vect/bb-slp-32.c: Adjust testcase. From-SVN: r230405 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/vect/bb-slp-32.c | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5a1997e5d68..cb3cc6dea60 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-11-16 Richard Biener + + * gcc.dg/vect/bb-slp-32.c: Adjust testcase. + 2015-11-15 Paul Thomas PR fortran/50221 diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-32.c b/gcc/testsuite/gcc.dg/vect/bb-slp-32.c index bc0f8377ea7..41bbf352156 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-32.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-32.c @@ -3,17 +3,17 @@ /* { dg-additional-options "-fvect-cost-model=dynamic" } */ void bar (int *); -int foo (int *p) +int foo (int *p, int a, int b) { int x[4]; int tem0, tem1, tem2, tem3; - tem0 = p[0] + 1; + tem0 = p[0] + 1 + a; x[0] = tem0; - tem1 = p[1] + 2; + tem1 = p[1] + 2 + b; x[1] = tem1; - tem2 = p[2] + 3; + tem2 = p[2] + 3 + b; x[2] = tem2; - tem3 = p[3] + 4; + tem3 = p[3] + 4 + a; x[3] = tem3; bar (x); return tem0 + tem1 + tem2 + tem3; -- 2.30.2