1 /* Test array initializion by store_by_pieces. */
3 /* { dg-options "-O2" } */
5 struct A
{ char c
[10]; };
6 extern void abort (void);
9 __attribute__((noinline
))
10 check (struct A
* a
, int b
)
19 p
= "j\0\0\0\0\0\0\0\0";
22 p
= "kl\0\0\0\0\0\0\0";
33 if (__builtin_memcmp (a
->c
, p
, 10) != 0)
40 struct A a
= { "abcdefghi" };
44 struct A c
= { "kl" };
46 struct A d
= { "mnop" };
48 struct A e
= { "qrstuvwx" };