Commit 6d5bfc0e by Alan Lawrence Committed by Alan Lawrence

gcc.dg/vect/vect-singleton_1.c: Remove duplicate of test body.

From-SVN: r211635
parent 783da331
2014-06-13 Alan Lawrence <alan.lawrence@arm.com>
* gcc.dg/vect/vect-singleton_1.c: Remove duplicate of test body.
2014-06-13 Richard Biener <rguenther@suse.de> 2014-06-13 Richard Biener <rguenther@suse.de>
* c-c++-common/pr46562-2.c: Adjust. * c-c++-common/pr46562-2.c: Adjust.
......
...@@ -36,41 +36,3 @@ TEST (int, intx1_t, i) ...@@ -36,41 +36,3 @@ TEST (int, intx1_t, i)
TEST (short, int16x1_t, s16) TEST (short, int16x1_t, s16)
TEST (char, int8x1_t, s8) TEST (char, int8x1_t, s8)
/* PR target/59843 ICE on function taking/returning vector of one float64_t. */
/* { dg-do compile } */
/* { dg-options "-Warray-bounds -O2 -fno-inline -std=c99" } */
#define TEST(BASETYPE, VECTYPE, SUFFIX) \
typedef BASETYPE VECTYPE \
__attribute__ ((__vector_size__ (sizeof (BASETYPE)))); \
VECTYPE \
test_vadd_##SUFFIX (VECTYPE a, VECTYPE b) \
{ \
return a + b; \
} \
\
void \
test_##SUFFIX (BASETYPE val) \
{ \
VECTYPE var = { val }; \
BASETYPE v0 = var[0]; \
BASETYPE v1 = var[1]; /* { dg-warning "index value is out of bound" } */ \
}
TEST (double, float64x1_t, f64)
/* Original bug was for above type;
in a nod to completeness, test other types too. */
TEST (long long, int64x1_t, s64)
TEST (float, float32x1_t, f32)
TEST (long, longx1_t, l)
TEST (int, intx1_t, i)
TEST (short, int16x1_t, s16)
TEST (char, int8x1_t, s8)
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