summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr49093.c
blob: b8bded686873f030fc55e9861c9b73859a26dd51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { dg-do compile } */
/* { dg-options "-O1 -ftree-vectorize -fdump-tree-vect-details -fno-tree-fre" } */

volatile unsigned char g_324[4] = {0, 1, 0, 1};
void foo (int);
int x, y;
void func_81(void)
{
    int l_466, l_439[7] = {0}, g_97;
lbl_473:
    if (x) {
        for (g_97 = 0; (g_97 < 4); ++g_97) {
            if (y)
              goto lbl_473;
            g_324[g_97];
            l_466 = l_439[g_97];
        }
        foo(l_466);
    }
}

/* { dg-final { cleanup-tree-dump "vect" } } */