mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-27 17:16:02 +08:00
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:
parent
a0f503a0f4
commit
4476242b85
@ -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.
|
||||
|
@ -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 ();
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-prune-output "conflicting types for built-in" } */
|
||||
|
||||
extern void *memcpy();
|
||||
int main() { memcpy(); }
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-prune-output "conflicting types for built-in" } */
|
||||
|
||||
void *memmove ();
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-prune-output "conflicting types for built-in" } */
|
||||
|
||||
void *ext2fs_resize_mem_p;
|
||||
struct ext2_icount_el {
|
||||
|
Loading…
Reference in New Issue
Block a user