Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / nolrl-1.c
blobc162958c622ae42ac27e642693872446f20a2e6d
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. */
5 /* { dg-do compile } */
6 /* { dg-options "-march=z10 -O3 -mzarch" } */
8 extern void foo (char*);
10 void
11 bar ()
13 unsigned char z[32];
15 __builtin_memcpy (z, "\001\000\000\000", 4);
16 foo (z);
19 /* { dg-final { scan-assembler-not "\tlrl" } } */