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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [shft.c] - Blame information for rev 714

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

Line No. Rev Author Line
1 688 jeremybenn
foo (a)
2
     int a;
3
{
4
  int b = 8;
5
 
6
  if ((a << b) >= 0)
7
    return 1;
8
  return a;
9
}
10
 
11
main ()
12
{
13
  if (foo (0x00ffffff) == 1)
14
    puts ("y");
15
}

powered by: WebSVN 2.1.0

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