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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
O3-pr87546.c
blob
0d3b71474c50a0ceadb4a64723f1dd88ebbf2420
1
#include
"tree-vect.h"
2
3
int
a
;
4
long
b
,
f
;
5
signed char
c
,
g
;
6
short int
d
=
219
;
7
int
e
[
64
];
8
9
__attribute__
((
noipa
))
void
10
foo
(
void
)
11
{
12
asm
volatile
(
""
: :
"g"
(&
a
),
"g"
(&
d
) :
"memory"
);
13
for
(
c
=
0
;
c
<
64
;
c
++)
14
{
15
g
=
d
<
0
?
d
:
d
>>
a
;
16
f
=
g
+
b
;
17
e
[
c
] =
f
;
18
}
19
if
(
e
[
1
] != (
signed char
)
d
)
20
__builtin_abort
();
21
}
22
23
int
24
main
()
25
{
26
check_vect
();
27
foo
();
28
return
0
;
29
}