(main): Call check_vect and foo. Check array values after
the call to foo.
* gcc.dg/vect/vect-117.c: Call check_vect.
* gcc.dg/vect/no-vfa-pr29145.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132613
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-02-25 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcc.dg/vect/vect-99.c: Include stdlib.h and tree-vect.h.
+ (main): Call check_vect and foo. Check array values after
+ the call to foo.
+ * gcc.dg/vect/vect-117.c: Call check_vect.
+ * gcc.dg/vect/no-vfa-pr29145.c: Ditto.
+
2008-02-25 Kaz Kojima <kkojima@gcc.gnu.org>
* gcc.dg/tree-ssa/ssa-pre-10.c: Use -fno-finite-math-only on
int a[1002];
int b[1002];
+ check_vect ();
+
for (i = 0; i < 1002; ++i) {
a[i] = b[i] = i;
}
{
int i,j;
+ check_vect ();
+
foo = 0;
main1 (a, N);
/* { dg-require-effective-target vect_int } */
+#include <stdlib.h>
+#include "tree-vect.h"
+
int ca[100];
__attribute__ ((noinline))
int main (void)
{
+ int i;
+
+ check_vect ();
+
+ foo(100);
+
+ for (i = 0; i < 100; ++i) {
+ if (ca[i] != 2)
+ abort();
+ }
return 0;
}