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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20041210-1.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* The FR-V port used to fail this test because the andcc patterns
2
   wrongly claimed to set the C and V flags.  */
3
#include <limits.h>
4
 
5
int x[4] = { INT_MIN / 2, INT_MAX, 2, 4 };
6
 
7
int
8
main ()
9
{
10
  if (x[0] < x[1])
11
    if ((x[2] & x[3]) < 0)
12
      abort ();
13
  exit (0);
14
}

powered by: WebSVN 2.1.0

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