Commit 48b5a700 by Ian Lance Taylor Committed by Ian Lance Taylor

* gcc.c-torture/compile/pr31034.c: New test.

From-SVN: r122566
parent da1c7394
2007-03-05 Ian Lance Taylor <iant@google.com> 2007-03-05 Ian Lance Taylor <iant@google.com>
* gcc.c-torture/compile/pr31034.c: New test.
2007-03-05 Ian Lance Taylor <iant@google.com>
* gcc.dg/inline-18.c: New test. * gcc.dg/inline-18.c: New test.
* gcc.dg/inline-19.c: New test. * gcc.dg/inline-19.c: New test.
* gcc.dg/inline-20.c: New test. * gcc.dg/inline-20.c: New test.
static inline int
mod (int a, int n)
{
return a >= n ? a % n : a;
}
void dpara(int);
void opticurve (int m)
{
int i;
for (i = 0; i < m; i++)
{
dpara(mod (i - 1, m));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment