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
* gcc.c-torture/compile/pr31034.c: New test.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr31034.c
1
static inline int
2
mod (int a, int n)
3
{
4
return a >= n ? a % n : a;
5
}
6
void dpara(int);
7
void opticurve (int m)
8
{
9
int i;
10
for (i = 0; i < m; i++)
11
{
12
dpara(mod (i - 1, m));
13
}
14
}