repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libstdc++: Only use std::ios_base_library_init() for ELF [PR116159]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr51074.c
blob
d6c8cea1f842e08436a3d04af513307d3e980d27
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
#pragma GCC novector
19
for
(
i
=
0
;
i
<
8
;
i
++)
20
if
(
s
[
i
].
b
!=
0
||
s
[
i
].
a
!=
i
)
21
abort
();
22
return
0
;
23
}
24