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
* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
modmod.c
blob
e09a20beb3799b5a5cd4148854a4ee64e529185c
1
/* { dg-options "-O -fdump-tree-optimized-raw" } */
2
3
int
f
(
int
a
,
int
b
){
4
a
%=
b
;
5
return
a
%
b
;
6
}
7
int
g
(
unsigned
a
,
unsigned
b
){
8
a
%=
b
;
9
return
a
<
b
;
10
}
11
12
/* { dg-final { scan-tree-dump-times "trunc_mod_expr" 1 "optimized" } } */