diff options
author | Dorit Naishlos <dorit@il.ibm.com> | 2004-10-28 19:00:39 +0000 |
---|---|---|
committer | Dorit Nuzman <dorit@gcc.gnu.org> | 2004-10-28 19:00:39 +0000 |
commit | 5c588b22b57641e0c766b2fbf77ed4b9836e9805 (patch) | |
tree | 1b21a1a27be3997d251f8042b7a1a991d4fe81df /gcc/testsuite | |
parent | 85a59cea228798d33b77934a225d6e3db651f887 (diff) | |
download | gcc-5c588b22b57641e0c766b2fbf77ed4b9836e9805.zip gcc-5c588b22b57641e0c766b2fbf77ed4b9836e9805.tar.gz gcc-5c588b22b57641e0c766b2fbf77ed4b9836e9805.tar.bz2 |
re PR other/18172 (execution failure in vect-[20,22].c on ppc-linux)
PR other/18172
* gcc.dg/vect/vect-20.c: Use 'signed char' instaed of 'char'. Remove
unused variables.
* gcc.dg/vect/vect-22.c: Likewise.
From-SVN: r89771
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/vect-20.c | 32 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/vect-22.c | 33 |
3 files changed, 11 insertions, 61 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6e8e765..32e1b08 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2004-10-28 Dorit Naishlos <dorit@il.ibm.com> + + PR other/18172 + * gcc.dg/vect/vect-20.c: Use 'signed char' instaed of 'char'. Remove + unused variables. + * gcc.dg/vect/vect-22.c: Likewise. + 2004-10-28 Jakub Jelinek <jakub@redhat.com> * gcc.dg/i386-rotate-1.c: New test. diff --git a/gcc/testsuite/gcc.dg/vect/vect-20.c b/gcc/testsuite/gcc.dg/vect/vect-20.c index c5f4cef..919d5ad 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-20.c +++ b/gcc/testsuite/gcc.dg/vect/vect-20.c @@ -22,28 +22,9 @@ main1 () 1,1,0,0,1,0,1,0, 1,1,0,0,1,0,1,0, 1,1,0,0,1,0,1,0}; - int ic[N] = - {1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0}; - char ca[N]; - char cb[N] = - {1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0}; - - char cc[N] = + signed char ca[N]; + signed char cb[N] = {1,1,0,0,1,0,1,0, 1,1,0,0,1,0,1,0, 1,1,0,0,1,0,1,0, @@ -64,15 +45,6 @@ main1 () 1,1,0,0,1,0,1,0, 1,1,0,0,1,0,1,0}; - short sc[N] = - {1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0}; /* Check ints. */ diff --git a/gcc/testsuite/gcc.dg/vect/vect-22.c b/gcc/testsuite/gcc.dg/vect/vect-22.c index 0538515..b1f20da 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-22.c +++ b/gcc/testsuite/gcc.dg/vect/vect-22.c @@ -22,28 +22,9 @@ main1 () 1,1,0,0,1,0,1,0, 1,1,0,0,1,0,1,0, 1,1,0,0,1,0,1,0}; - int ic[N] = - {1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0}; - - char ca[N]; - char cb[N] = - {1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0}; - char cc[N] = + signed char ca[N]; + signed char cb[N] = {1,1,0,0,1,0,1,0, 1,1,0,0,1,0,1,0, 1,1,0,0,1,0,1,0, @@ -64,16 +45,6 @@ main1 () 1,1,0,0,1,0,1,0, 1,1,0,0,1,0,1,0}; - short sc[N] = - {1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0, - 1,1,0,0,1,0,1,0}; - /* Check ints. */ for (i = 0; i < N; i++) |