Walloca-16.c: Ignore conflicting types for built-in warnings.

* 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
This commit is contained in:
Paul Koning 2018-11-09 16:08:32 -05:00 committed by Paul Koning
parent a0f503a0f4
commit 4476242b85
8 changed files with 18 additions and 0 deletions

View 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.

View 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 ();

View 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 ();

View 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;

View 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;

View File

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-prune-output "conflicting types for built-in" } */
extern void *memcpy();
int main() { memcpy(); }

View File

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-prune-output "conflicting types for built-in" } */
void *memmove ();

View 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 {