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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 688 jeremybenn
int bar(int foo)
2
{
3
  return (int)(((unsigned long long)(long long)foo) / 8);
4
}
5
extern void abort (void);
6
int main()
7
{
8
  if (sizeof (long long) > sizeof (int)
9
      && bar(-1) != -1)
10
    abort ();
11
  return 0;
12
}

powered by: WebSVN 2.1.0

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