2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / inline-memcpy-1.c
blob8b1ad80520df75eae8ea4892c96ee85271821767
1 /* { dg-options "-fno-common isa_rev>=6 (REQUIRES_STDLIB)" } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" "-Os" } { "" } } */
3 /* { dg-final { scan-assembler-not "\tmemcpy" } } */
5 /* Test that memcpy is inline for target hardware
6 without swl, swr. */
8 #include <string.h>
10 char c[40] __attribute__ ((aligned(8)));
12 void
13 f1 ()
15 memcpy (c, "1234567890QWERTYUIOPASDFGHJKLZXCVBNM", 32);