diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/gen-vect-11a.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/gen-vect-2.c | 4 |
3 files changed, 12 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7e9392b..a03a6d1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-08-02 Rask Ingemann Lambertsen <rask@sygehus.dk> + + * gcc.dg/tree-ssa/gen-vect-2.c: Use "char" for vector elements if + "int" is only 16 bit bits wide. + * gcc.dg/tree-ssa/gen-vect-11a.c: Likewise. + 2007-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * g++.dg/torture/type-generic-1.C: New. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-11a.c b/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-11a.c index 7fbbc0c..e7c5f4a 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-11a.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-11a.c @@ -5,7 +5,9 @@ #define N 16 -#if __LONG_MAX__ == 2147483647 +#if __INT_MAX__ == 32767 +typedef char half_word; +#elif __LONG_MAX__ == 2147483647 typedef short half_word; #else typedef int half_word; diff --git a/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-2.c b/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-2.c index 8bee152..ae2f031 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-2.c @@ -5,7 +5,9 @@ #define N 16 -#if __LONG_MAX__ == 2147483647 +#if __INT_MAX__ == 32767 +typedef char half_word; +#elif __LONG_MAX__ == 2147483647 typedef short half_word; #else typedef int half_word; |