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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr23047.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 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.