blob: c162958c622ae42ac27e642693872446f20a2e6d [file] [log] [blame]
/* Make sure the compiler does not try to use a relative long
instruction to load the string since it might not meet the
alignment requirements of the instruction. */
/* { dg-do compile } */
/* { dg-options "-march=z10 -O3 -mzarch" } */
extern void foo (char*);
void
bar ()
{
unsigned char z[32];
__builtin_memcpy (z, "\001\000\000\000", 4);
foo (z);
}
/* { dg-final { scan-assembler-not "\tlrl" } } */