diff options
author | Paul Koning <ni1d@arrl.net> | 2018-11-09 16:08:32 -0500 |
---|---|---|
committer | Paul Koning <pkoning@gcc.gnu.org> | 2018-11-09 16:08:32 -0500 |
commit | 4476242b8556590de4b85eea815bda9b81ed7b06 (patch) | |
tree | 13b5e1a52c85f7f355d8345f18b13daf6d21fb85 /gcc | |
parent | a0f503a0f4335a7ff8958d2e15df03d62c1dcd92 (diff) | |
download | gcc-4476242b8556590de4b85eea815bda9b81ed7b06.zip gcc-4476242b8556590de4b85eea815bda9b81ed7b06.tar.gz gcc-4476242b8556590de4b85eea815bda9b81ed7b06.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/Walloca-16.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/Wrestrict-4.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/Wrestrict-5.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr83463.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr55890-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr55890-3.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr71816.c | 1 |
8 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c1b8d6b2..1046dcb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.dg/Walloca-16.c b/gcc/testsuite/gcc.dg/Walloca-16.c index 3ee96a9..35f160f 100644 --- a/gcc/testsuite/gcc.dg/Walloca-16.c +++ b/gcc/testsuite/gcc.dg/Walloca-16.c @@ -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 (); diff --git a/gcc/testsuite/gcc.dg/Wrestrict-4.c b/gcc/testsuite/gcc.dg/Wrestrict-4.c index f2398ef..13a98ae 100644 --- a/gcc/testsuite/gcc.dg/Wrestrict-4.c +++ b/gcc/testsuite/gcc.dg/Wrestrict-4.c @@ -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 (); diff --git a/gcc/testsuite/gcc.dg/Wrestrict-5.c b/gcc/testsuite/gcc.dg/Wrestrict-5.c index 4912ee5..2dae7a8 100644 --- a/gcc/testsuite/gcc.dg/Wrestrict-5.c +++ b/gcc/testsuite/gcc.dg/Wrestrict-5.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/pr83463.c b/gcc/testsuite/gcc.dg/pr83463.c index ddf662f..950fdde 100644 --- a/gcc/testsuite/gcc.dg/pr83463.c +++ b/gcc/testsuite/gcc.dg/pr83463.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/torture/pr55890-2.c b/gcc/testsuite/gcc.dg/torture/pr55890-2.c index 1cf71d7..672826b 100644 --- a/gcc/testsuite/gcc.dg/torture/pr55890-2.c +++ b/gcc/testsuite/gcc.dg/torture/pr55890-2.c @@ -1,4 +1,5 @@ /* { dg-do compile } */
+/* { dg-prune-output "conflicting types for built-in" } */
extern void *memcpy();
int main() { memcpy(); }
diff --git a/gcc/testsuite/gcc.dg/torture/pr55890-3.c b/gcc/testsuite/gcc.dg/torture/pr55890-3.c index c7f77be..ba4971e 100644 --- a/gcc/testsuite/gcc.dg/torture/pr55890-3.c +++ b/gcc/testsuite/gcc.dg/torture/pr55890-3.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-prune-output "conflicting types for built-in" } */ void *memmove (); diff --git a/gcc/testsuite/gcc.dg/torture/pr71816.c b/gcc/testsuite/gcc.dg/torture/pr71816.c index bdd5b1b..aa4605b 100644 --- a/gcc/testsuite/gcc.dg/torture/pr71816.c +++ b/gcc/testsuite/gcc.dg/torture/pr71816.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-prune-output "conflicting types for built-in" } */ void *ext2fs_resize_mem_p; struct ext2_icount_el { |