OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [20040309-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.