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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [pr52177.c] - Rev 686

Compare with Previous | Blame | View Log

/* PR middle-end/52177 */
/* { dg-do compile } */
/* { dg-options "-O -fno-tree-ccp" } */
 
int *s;
 
static inline int
foo ()
{
  return sizeof (int);
}
 
int
bar ()
{
  return __atomic_always_lock_free (foo (), s);
}
 
int
baz ()
{
  return __atomic_is_lock_free (foo (), s);
}
 

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.