Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/c-c++-common/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" } */ | 3 /* { dg-options "-Wall -Wno-array-bounds -Wno-sizeof-array-argument" } */ |
4 /* { dg-options "-Wall -Wno-sizeof-array-argument -Wno-c++-compat" { target c } } */ | 4 /* { dg-options "-Wall -Wno-array-bounds -Wno-sizeof-array-argument -Wno-c++-compat" { target c } } */ |
5 /* { dg-require-effective-target alloca } */ | 5 /* { dg-require-effective-target alloca } */ |
6 | 6 |
7 typedef __SIZE_TYPE__ size_t; | 7 typedef __SIZE_TYPE__ size_t; |
8 #ifdef __cplusplus | 8 #ifdef __cplusplus |
9 extern "C" { | 9 extern "C" { |