Commit da225f53 by Richard Biener Committed by Richard Biener

bb-slp-32.c: Adjust testcase.

2015-11-16  Richard Biener  <rguenther@suse.de>

	* gcc.dg/vect/bb-slp-32.c: Adjust testcase.

From-SVN: r230405
parent 19708abc
2015-11-16 Richard Biener <rguenther@suse.de>
* gcc.dg/vect/bb-slp-32.c: Adjust testcase.
2015-11-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/50221
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment