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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr115669.c
blob
361a17a64e6882d48497873371dd7f126c168bed
1
/* { dg-additional-options "-fwrapv" } */
2
3
#include
"tree-vect.h"
4
5
int
a
=
10
;
6
unsigned
b
;
7
long long
c
[
100
];
8
int
foo
()
9
{
10
long long
*
d
=
c
;
11
for
(
short
e
=
0
;
e
<
a
;
e
++)
12
b
+= ~(
d
?
d
[
e
] :
0
);
13
return
b
;
14
}
15
16
int
main
()
17
{
18
check_vect
();
19
if
(
foo
() != -
10
)
20
abort
();
21
return
0
;
22
}