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/] [pr28651.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
#include <limits.h>
2
 
3
extern void abort (void);
4
int __attribute__((noinline))
5
foo (unsigned int u)
6
{
7
  return (int)(u + 4) < (int)u;
8
}
9
 
10
int
11
main (int argc, char *argv[])
12
{
13
  unsigned int u = INT_MAX;
14
 
15
  if (foo (u) == 0)
16
    abort();
17
  return 0;
18
}
19
 

powered by: WebSVN 2.1.0

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