summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr71279.c
blob: 4ecc84b642596c7cef0b7638f1b096b9e7c89781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR middle-end/71279 */
/* { dg-do compile } */
/* { dg-options "-O3" } */
/* { dg-additional-options "-march=knl" { target { i?86-*-* x86_64-*-* } } } */

extern int a, b;
long c[1][1][1];
long d[1][1];

void fn1 ()
{
  for (int e = 0; e < b; e = e + 1)
    *(e + **c) = (a && *d[1]) - 1;
}