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
/
torture
/
pr106070.c
blob
f031516cf0c1febd874f2dc053440fc5635e928b
1
/* { dg-do run } */
2
3
unsigned int
a
=
1
;
4
int
b
= -
1
;
5
int
c
=
4
;
6
unsigned long long
d
;
7
8
void
__attribute__
((
noipa
))
9
test
(
void
)
10
{
11
for
(
int
i
=
0
;
i
<
c
;
i
+=
2
)
12
d
=
a
!= (
int
)
b
? (
unsigned long long
)
b
: (
unsigned long long
)
a
;
13
}
14
15
int
16
main
()
17
{
18
test
();
19
if
(
d
!= -
1ULL
)
20
__builtin_abort
();
21
return
0
;
22
}