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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr23047.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
#include <limits.h>
2
extern void abort ();
3
extern void exit (int);
4
void f(int i)
5
{
6
  i = i > 0 ? i : -i;
7
  if (i<0)
8
    return;
9
  abort ();
10
}
11
 
12
int main(int argc, char *argv[])
13
{
14
  f(INT_MIN);
15
  exit (0);
16
}

powered by: WebSVN 2.1.0

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