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
/
tree-ssa
/
vrp52.c
blob
6ecd31eba5dea7306a50f6d94b6c75df09c84263
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-vrp1 -fno-tree-ccp" } */
3
4
int
5
foo
(
unsigned int
i
,
unsigned int
j
)
6
{
7
i
&=
15
;
8
j
&=
15
;
9
i
+=
1024
;
10
j
+=
2048
;
11
i
|=
j
;
12
return
i
>=
1024
+
2048
;
13
}
14
15
/* { dg-final { scan-tree-dump-times "return 1;" 1 "vrp1" } } */