From: Steve Ellcey Date: Fri, 17 Nov 2017 22:46:46 +0000 (+0000) Subject: pr81356.c: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=667b43c1790c5058c53ace54809f5b7aca374e72;p=gcc.git pr81356.c: New test. 2017-11-17 Steve Ellcey * gcc.target/aarch64/pr81356.c: New test. From-SVN: r254903 --- 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" } } */