LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-fold-1.c
blob2bd21a47a0ba5a11233dcf885169da4e449960c1
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-ccp1" } */
4 typedef unsigned char v4qi __attribute__ ((vector_size (4)));
6 v4qi c;
8 void foo()
10 v4qi a = { 1, 2, 3, 4 };
11 v4qi b = { 5, 6, 7, 8 };
12 c = a + b;
15 /* { dg-final { scan-tree-dump-times "c =.* { 6, 8, 10, 12 }" 1 "ccp1" } } */