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
Let tree_single_nonzero_warnv_p use range information
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr77407.c
blob
8cad857154ae1f6f1ea71a87cf1c95c3b17c7424
1
/* { dg-do compile } */
2
/* { dg-options "-O -fstrict-overflow -fdump-tree-gimple" } */
3
4
int
foo
(
int
c
)
5
{
6
if
(
c
!=
0
)
7
c
/=
__builtin_abs
(
c
);
8
return
c
;
9
}
10
11
int
bar
(
int
c
)
12
{
13
if
(
c
!=
0
)
14
c
/= -
c
;
15
return
c
;
16
}
17
18
/* { dg-final { scan-tree-dump-times "/" 0 "gimple" } } */