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
PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
divide-4.c
blob
5ff8d326d460755ecbec2cffd5e3e8a5b3f4ec4d
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fstrict-overflow -fdump-tree-optimized" } */
3
4
int
f
(
int
a
)
5
{
6
return
-(-
a
/
10
);
7
}
8
9
/* { dg-final { scan-tree-dump-times "-a" 0 "optimized"} } */
10
/* { dg-final { scan-tree-dump-times "a_..D. / 10" 1 "optimized"} } */
11
12
13