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
/
divide-2.c
blob
73f390fbddbdf15deee5a498a953a49ea19c136b
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fstrict-overflow -fdump-tree-optimized" } */
3
4
int
f
(
int
a
)
5
{
6
return
10
/-
a
;
7
}
8
9
10
/* { dg-final { scan-tree-dump-times "10 / -a" 0 "optimized"} } */
11
/* { dg-final { scan-tree-dump-times "-10 / a" 1 "optimized"} } */
12
13