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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr22493-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
#include <limits.h>
2
extern void abort ();
3
extern void exit (int);
4
void f(int i)
5
{
6
  if (i>0)
7
    abort();
8
  i = -i;
9
  if (i<0)
10
    return;
11
  abort ();
12
}
13
 
14
int main(int argc, char *argv[])
15
{
16
  f(INT_MIN);
17
  exit (0);
18
}

powered by: WebSVN 2.1.0

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