comparison gcc/testsuite/gcc.dg/Wsizeof-pointer-memaccess1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* Test -Wsizeof-pointer-memaccess warnings. */ 1 /* Test -Wsizeof-pointer-memaccess warnings. */
2 /* { dg-do compile } */ 2 /* { dg-do compile } */
3 /* { dg-options "-Wall -Wno-sizeof-array-argument -Wno-stringop-overflow" } */ 3 /* { dg-options "-Wall -Wno-array-bounds -Wno-sizeof-array-argument -Wno-stringop-overflow" } */
4 /* { dg-require-effective-target alloca } */ 4 /* { dg-require-effective-target alloca } */
5 5
6 typedef __SIZE_TYPE__ size_t; 6 typedef __SIZE_TYPE__ size_t;
7 extern void bzero (void *, size_t); 7 extern void bzero (void *, size_t);
8 extern void bcopy (void *, const void *, size_t); 8 extern void bcopy (void *, const void *, size_t);