diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c75df82e97d..0dbe4731cc1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-11-17 Steve Ellcey + + * gcc.target/aarch64/pr81356.c: New test. + 2017-11-17 Jan Hubicka * gcc.target/i386/xop-imul64-vector.c: Disable vectorizer costmodel. diff --git a/gcc/testsuite/gcc.target/aarch64/pr81356.c b/gcc/testsuite/gcc.target/aarch64/pr81356.c new file mode 100644 index 00000000000..9fd6baaeadd --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/pr81356.c @@ -0,0 +1,9 @@ +/* { dg-do compile } */ +/* { dg-options "-O2" } */ + +void f(char *a) +{ + __builtin_strcpy (a, ""); +} + +/* { dg-final { scan-assembler-not "ldrb" } } */