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
/
pr109502.c
blob
fb67d909bbf6e8eb38f3493cfab753dabd52e735
1
/* { dg-additional-options "-O" } */
2
3
unsigned
g
;
4
5
unsigned
6
foo
(
void
)
7
{
8
unsigned
a
= !
g
;
9
a
+= !(
a
%
6
);
10
return
a
;
11
}
12
13
int
14
main
()
15
{
16
unsigned
x
=
foo
();
17
if
(
x
!=
1
)
18
__builtin_abort
();
19
return
0
;
20
}