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] - Rev 801

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

/* { dg-do link } */
/* { dg-options "-fstrict-overflow" } */
 
#include <limits.h>
 
extern void link_error(void);
int main()
{
  int i0, i1;
  if (!(i0 + 1 < i1 + 1 == i0 < i1))
    link_error ();
  if (!(i0 + INT_MIN < i1 - INT_MAX == i0 < i1 - -1))
    link_error ();
  return 0;
}
 

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

powered by: WebSVN 2.1.0

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