Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr40340-5.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* PR middle-end/40340 */ | 1 /* PR middle-end/40340 */ |
2 /* { dg-do compile } */ | 2 /* { dg-do compile } */ |
3 /* { dg-options "-O2 -Wall -Wsystem-headers -g" } */ | 3 /* { dg-options "-O2 -Wall -Wsystem-headers -g -fno-tree-dse" } */ |
4 | 4 |
5 #define TEST3 | 5 #define TEST3 |
6 #include "pr40340.h" | 6 #include "pr40340.h" |
7 | 7 |
8 int | 8 int |
11 char buf[4]; | 11 char buf[4]; |
12 test3 (buf); | 12 test3 (buf); |
13 return 0; | 13 return 0; |
14 } | 14 } |
15 | 15 |
16 /* { dg-warning "writing" "" { target *-*-* } 10 } */ | 16 /* { dg-warning "\\\[-Warray-bounds|-Wstringop-overflow" "" { target *-*-* } 10 } */ |
17 /* { dg-message "file included" "In file included" { target *-*-* } 0 } */ | 17 /* { dg-message "file included" "In file included" { target *-*-* } 0 } */ |