repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr49671-1.c
blob
fc78b870c157fe07f9d7cb39f831baf07db2e7af
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
volatile
int
t
;
4
static
inline
int
cvmx_atomic_get32
(
volatile
int
*
ptr
)
5
{
6
return
*
ptr
;
7
}
8
void
f
(
void
)
9
{
10
while
(!
cvmx_atomic_get32
(&
t
))
11
;
12
}
13
14
/* { dg-final { scan-tree-dump "\{v\}" "optimized" } } */
15
16