From: Martin Liska Date: Wed, 25 Sep 2019 10:07:11 +0000 (+0200) Subject: Move a target test-case to generic folder. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48bea5dff4ced6dc87f08f615fcce5358606b0ba;p=gcc.git Move a target test-case to generic folder. 2019-09-25 Martin Liska * gcc.target/s390/pr91014.c: Move to ... * gcc.dg/pr91014.c: ... this. From-SVN: r276120 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 44fc3e382c6..f94813385e8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-09-25 Martin Liska + + * gcc.target/s390/pr91014.c: Move to ... + * gcc.dg/pr91014.c: ... this. + 2019-09-25 Paolo Carlini * g++.dg/diagnostic/redeclaration-1.C: New. diff --git a/gcc/testsuite/gcc.dg/pr91014.c b/gcc/testsuite/gcc.dg/pr91014.c new file mode 100644 index 00000000000..eb37b333b5b --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr91014.c @@ -0,0 +1,8 @@ +/* { dg-do compile } */ +/* { dg-options "-O" } */ +/* { dg-require-effective-target alloca } */ + +void foo(void) +{ + __builtin_calloc (1, 1); /* { dg-warning "ignoring return value of '__builtin_calloc' declared with attribute 'warn_unused_result'" } */ +} diff --git a/gcc/testsuite/gcc.target/s390/pr91014.c b/gcc/testsuite/gcc.target/s390/pr91014.c deleted file mode 100644 index eb37b333b5b..00000000000 --- a/gcc/testsuite/gcc.target/s390/pr91014.c +++ /dev/null @@ -1,8 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-O" } */ -/* { dg-require-effective-target alloca } */ - -void foo(void) -{ - __builtin_calloc (1, 1); /* { dg-warning "ignoring return value of '__builtin_calloc' declared with attribute 'warn_unused_result'" } */ -}