comparison gcc/testsuite/gcc.dg/pr40340-1.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 -Wno-system-headers" } */ 3 /* { dg-options "-O2 -Wall -Wno-system-headers -fno-tree-dse" } */
4 4
5 #include "pr40340.h" 5 #include "pr40340.h"
6 6
7 static inline 7 static inline
8 __attribute__ ((always_inline)) 8 __attribute__ ((always_inline))
18 char buf[4]; 18 char buf[4];
19 test (buf); 19 test (buf);
20 return 0; 20 return 0;
21 } 21 }
22 22
23 /* { dg-warning "writing" "" { target *-*-* } 10 } */ 23 /* { dg-warning "\\\[-Warray-bounds|-Wstringop-overflow" "" { target *-*-* } 10 } */
24 /* { dg-message "file included" "In file included" { target *-*-* } 0 } */ 24 /* { dg-message "file included" "In file included" { target *-*-* } 0 } */