projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.7.3
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr51074.c
1
/* PR tree-optimization/51074 */
2
3
#include "tree-vect.h"
4
5
struct S { int a, b; } s[8];
6
7
int
8
main ()
9
{
10
int i;
11
check_vect ();
12
for (i = 0; i < 8; i++)
13
{
14
s[i].b = 0;
15
s[i].a = i;
16
}
17
asm volatile ("" : : : "memory");
18
for (i = 0; i < 8; i++)
19
if (s[i].b != 0 || s[i].a != i)
20
abort ();
21
return 0;
22
}
23
24
/* { dg-final { cleanup-tree-dump "vect" } } */