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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr89518.c
blob
5b289c20543972321fa8d544831072527205e8e6
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-original" } */
3
4
unsigned
foo
(
unsigned
a
,
unsigned
b
)
5
{
6
return
a
/
b
*
b
+
a
%
b
;
7
}
8
9
int
bar
(
int
a
,
int
b
)
10
{
11
return
a
/
b
*
b
+
a
%
b
;
12
}
13
14
/* { dg-final { scan-tree-dump-times "return a;" 2 "original" } } */