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
RISC-V: Add testcases for signed imm SAT_ADD form1
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr114485.c
blob
6536806e350f2bfc1ead3b6d7cd63751b9ad6169
1
#include
"tree-vect.h"
2
3
int
b
,
c
=
8
,
d
;
4
int
e
[
23
];
5
int
main
()
6
{
7
check_vect
();
8
9
int
*
h
=
e
;
10
for
(
int
i
=
1
;
i
<
b
+
21
;
i
+=
2
)
11
{
12
c
*= -
1
;
13
d
=
h
[
i
] ?
i
:
0
;
14
}
15
if
(
c
!=
8
)
16
abort
();
17
return
0
;
18
}