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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr26898-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do link } */
2
/* { dg-options "-fstrict-overflow" } */
3
 
4
#include <limits.h>
5
 
6
extern void link_error(void);
7
int main()
8
{
9
  int i0, i1;
10
  if (!(i0 + 1 < i1 + 1 == i0 < i1))
11
    link_error ();
12
  if (!(i0 + INT_MIN < i1 - INT_MAX == i0 < i1 - -1))
13
    link_error ();
14
  return 0;
15
}

powered by: WebSVN 2.1.0

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