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
/
evrp4.c
blob
895109fdadd8815de91472141b9a6d74b896b2ea
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-evrp-details" } */
3
4
int
foo
(
int
*
p
);
5
6
struct
st
7
{
8
int
a
;
9
int
b
;
10
};
11
12
int
bar
(
struct
st
*
s
)
13
{
14
15
if
(!
s
)
16
return
0
;
17
foo
(&
s
->
a
);
18
}
19
20
/* { dg-final { scan-tree-dump "\\\[1, \\+INF\\\]" "evrp" } } */