OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-06-11 Andreas Tobler <a.tobler@schweiz.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
20040309-1.c
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
}