☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr102149.c
☽
☼
gcc/testsuite/gcc.dg/torture/pr102149.c
code
plain
raw
1
/* { dg-do run } */
2
/* { dg-additional-options "-fno-vect-cost-model" } */
3
4
int a[8];
5
int *b = &a[6];
6
char c;
7
int main()
8
{
9
int d = 7;
10
for (; d >= 0; d--)
11
{
12
*b = 1;
13
c = a[d] >> 3;
14
a[d] = c;
15
}
16
if (a[6] != 1)
17
__builtin_abort ();
18
return 0;
19
}