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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr38774.c] - Rev 689

Compare with Previous | Blame | View Log

/* PR rtl-optimization/38774 */
/* { dg-do compile } */
/* { dg-options "" } */
/* { dg-options "-march=i686" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
 
extern int bar (void);
volatile int g;
 
int
foo (void)
{
  int a = 1 >= bar ();
  if ((1 > 9223372036854775807LL - a && 1 - a ? : 1 + a) & 1)
    return g;
  return 0;
}
 

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.