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
/
vrp117.c
blob
d07a6722cd7ab346c9a2e2cb5d1ff1b6e23505da
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-evrp" } */
3
4
void
link_error
(
void
);
5
6
void
foo
(
int
i
)
7
{
8
if
(
i
>
__INT_MAX__
-
10
)
9
{
10
int
j
=
i
*
10
;
11
if
(
j
<
i
)
12
link_error
();
13
}
14
}
15
16
/* { dg-final { scan-tree-dump-not "link_error" "evrp" } } */