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
Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr53516.c
blob
7f8094d19cdf36bfd5c12261c2f4150c01c4867c
1
/* { dg-do run } */
2
/* { dg-options "-ftree-vectorize -ftree-loop-distribute-patterns" } */
3
4
extern
void
abort
(
void
);
5
6
struct
Foo
7
{
8
char
a
:
1
;
9
char
b
:
7
;
10
};
11
12
struct
Foo x
[
256
];
13
int
y
[
256
];
14
15
void
__attribute__
((
noinline
,
noclone
))
bar
(
int
n
)
16
{
17
int
i
;
18
for
(
i
=
0
;
i
<
n
; ++
i
)
19
{
20
x
[
i
].
a
=
0
;
21
y
[
i
] =
3
;
22
}
23
}
24
25
int
main
()
26
{
27
x
[
5
].
b
=
7
;
28
bar
(
256
);
29
if
(
x
[
5
].
b
!=
7
)
30
abort
();
31
return
0
;
32
}