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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20040309-1.c
blob
736150731c7173eeacaa57edeef6c7132184aa2d
1
/* Test integer mod on ia64. There was a bug in the inline integer
2
division code. */
3
4
/* { dg-do run } */
5
/* { dg-options "-minline-int-divide-max-throughput" { target ia64-*-* } } */
6
7
extern
void
abort
(
void
);
8
9
volatile
int
i
=
10
;
10
volatile
int
j
=
10
;
11
12
int
main
()
13
{
14
int
k
=
i
%
j
;
15
if
(
k
!=
0
)
abort
();
16
return
0
;
17
}