Commit 4476242b by Paul Koning Committed by Paul Koning

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
parent a0f503a0
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.
......
/* PR tree-optimization/84224 */
/* { dg-do compile } */
/* { dg-prune-output "conflicting types for built-in" } */
/* { dg-options "-O0 -Walloca" } */
void *alloca ();
......
......@@ -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 ();
......
......@@ -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;
......
/* 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;
......
/* { dg-do compile } */
/* { dg-prune-output "conflicting types for built-in" } */
extern void *memcpy();
int main() { memcpy(); }
/* { dg-do compile } */
/* { dg-prune-output "conflicting types for built-in" } */
void *memmove ();
......
/* { dg-do compile } */
/* { dg-prune-output "conflicting types for built-in" } */
void *ext2fs_resize_mem_p;
struct ext2_icount_el {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment