Walloca-16.c: Ignore conflicting types for built-in warnings.
authorPaul Koning <ni1d@arrl.net>
Fri, 9 Nov 2018 21:08:32 +0000 (16:08 -0500)
committerPaul Koning <pkoning@gcc.gnu.org>
Fri, 9 Nov 2018 21:08:32 +0000 (16:08 -0500)
* gcc.dg/Walloca-16.c: Ignore conflicting types for built-in
warnings.
* gcc.dg/Wrestrict-4.c: Ditto.
* gcc.dg/Wrestrict-5.c: Ditto.
* gcc.dg/pr83463.c: Ditto.
* gcc.dg/torture/pr55890-2.c: Ditto.
* gcc.dg/torture/pr55890-3.c: Ditto.
* gcc.dg/torture/pr71816.c: Ditto.

From-SVN: r265995

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Walloca-16.c
gcc/testsuite/gcc.dg/Wrestrict-4.c
gcc/testsuite/gcc.dg/Wrestrict-5.c
gcc/testsuite/gcc.dg/pr83463.c
gcc/testsuite/gcc.dg/torture/pr55890-2.c
gcc/testsuite/gcc.dg/torture/pr55890-3.c
gcc/testsuite/gcc.dg/torture/pr71816.c

index c1b8d6b2cc1d8d1877f8ce3f9269192e59b935f7..1046dcb97f694ae792ca42c1c66f2f76208afb6e 100644 (file)
@@ -1,3 +1,14 @@
+2018-11-09  Paul Koning  <ni1d@arrl.net>
+
+       * gcc.dg/Walloca-16.c: Ignore conflicting types for built-in
+       warnings.
+       * gcc.dg/Wrestrict-4.c: Ditto.
+       * gcc.dg/Wrestrict-5.c: Ditto.
+       * gcc.dg/pr83463.c: Ditto.
+       * gcc.dg/torture/pr55890-2.c: Ditto.
+       * gcc.dg/torture/pr55890-3.c: Ditto.
+       * gcc.dg/torture/pr71816.c: Ditto.
+
 2018-11-09  Jakub Jelinek  <jakub@redhat.com>
 
        * c-c++-common/gomp/clauses-5.c: New test.
index 3ee96a9570ab0c914b12e11a6b50781f9db31484..35f160ff262f419f396570c5e793ee86f06ac2d1 100644 (file)
@@ -1,5 +1,6 @@
 /* PR tree-optimization/84224 */
 /* { dg-do compile } */
+/* { dg-prune-output "conflicting types for built-in" } */
 /* { dg-options "-O0 -Walloca" } */
 
 void *alloca ();
index f2398ef164a6204798595696ddd1d2106b42914b..13a98ae4d8b2af3bf4131632d3aa5f60f2710fc9 100644 (file)
@@ -3,6 +3,7 @@
    Test to verify that invalid calls to built-in functions declared
    without a prototype don't cause an ICE.
    { dg-do compile }
+   { dg-prune-output "conflicting types for built-in" }
    { dg-options "-O2 -Warray-bounds -Wrestrict" } */
 
 void* memcpy ();
index 4912ee5506bd667fcafd89529bdffaceac379ed3..2dae7a8aea3c59720bd143392eb50d054edc78e1 100644 (file)
@@ -2,6 +2,7 @@
    functions declared with no prototype are checked for overlap, and that
    invalid calls are ignored.
   { dg-do compile }
+  { dg-prune-output "conflicting types for built-in" }
   { dg-options "-O2 -Wrestrict" }  */
 
 typedef __SIZE_TYPE__ size_t;
index ddf662f76a1c33d3a124642e82fc7def24b6b1ad..950fdde4e599ac925b44365ac5096a1d0e8cc47c 100644 (file)
@@ -1,5 +1,6 @@
 /* PR middle-end/83463 */
 /* { dg-do compile } */
+/* { dg-prune-output "conflicting types for built-in" } */
 /* { dg-options "-O2 -Wrestrict -Wno-pointer-to-int-cast" } */
 
 int *a;
index 1cf71d7529c299f048d38b8c9cab95c2be307ef0..672826baa539095e5eb37a169b9e3603621cef5b 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */\r
+/* { dg-prune-output "conflicting types for built-in" } */\r
 \r
 extern void *memcpy();\r
 int main() { memcpy(); }\r
index c7f77be689daa80e11d1767197537d959cae6801..ba4971e40006a1746c64a7eb3b2b3b74ae7bc0ff 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-prune-output "conflicting types for built-in" } */
 
 void *memmove ();
 
index bdd5b1b127f9d39eb7806944898e0fe651512455..aa4605b7dbd672cec54219e168f12d883fa0862c 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-prune-output "conflicting types for built-in" } */
 
 void *ext2fs_resize_mem_p;
 struct ext2_icount_el {