1 /* Make sure the compiler does not try to use a relative long
2 instruction to load the string since it might not meet the
3 alignment requirements of the instruction. */
4
5 /* { dg-do compile } */
6 /* { dg-options "-march=z10 -O3 -mzarch" } */
7
8 extern void foo (char*);
9
10 void
11 bar ()
12 {
13 unsigned char z[32];
14
15 __builtin_memcpy (z, "\001\000\000\000", 4);
16 foo (z);
17 }
18
19 /* { dg-final { scan-assembler-not "\tlrl" } } */