vect-99.c: Include stdlib.h and tree-vect.h.
* 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. From-SVN: r132613
This commit is contained in:
parent
ee37d2f54c
commit
9dd39a15b8
4 changed files with 25 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
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
|
||||
|
|
|
@ -31,6 +31,8 @@ int main(void)
|
|||
int a[1002];
|
||||
int b[1002];
|
||||
|
||||
check_vect ();
|
||||
|
||||
for (i = 0; i < 1002; ++i) {
|
||||
a[i] = b[i] = i;
|
||||
}
|
||||
|
|
|
@ -42,6 +42,8 @@ int main (void)
|
|||
{
|
||||
int i,j;
|
||||
|
||||
check_vect ();
|
||||
|
||||
foo = 0;
|
||||
main1 (a, N);
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
/* { dg-require-effective-target vect_int } */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "tree-vect.h"
|
||||
|
||||
int ca[100];
|
||||
|
||||
__attribute__ ((noinline))
|
||||
|
@ -13,6 +16,16 @@ void foo (int n)
|
|||
|
||||
int main (void)
|
||||
{
|
||||
int i;
|
||||
|
||||
check_vect ();
|
||||
|
||||
foo(100);
|
||||
|
||||
for (i = 0; i < 100; ++i) {
|
||||
if (ca[i] != 2)
|
||||
abort();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue