PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr71279.c
blob4ecc84b642596c7cef0b7638f1b096b9e7c89781
1 /* PR middle-end/71279 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3" } */
4 /* { dg-additional-options "-march=knl" { target { i?86-*-* x86_64-*-* } } } */
6 extern int a, b;
7 long c[1][1][1];
8 long d[1][1];
10 void fn1 ()
12 for (int e = 0; e < b; e = e + 1)
13 *(e + **c) = (a && *d[1]) - 1;