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] - Blame information for rev 714

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

Line No. Rev Author Line
1 686 jeremybenn
/* PR middle-end/52177 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -fno-tree-ccp" } */
4
 
5
int *s;
6
 
7
static inline int
8
foo ()
9
{
10
  return sizeof (int);
11
}
12
 
13
int
14
bar ()
15
{
16
  return __atomic_always_lock_free (foo (), s);
17
}
18
 
19
int
20
baz ()
21
{
22
  return __atomic_is_lock_free (foo (), s);
23
}

powered by: WebSVN 2.1.0

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