repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
sync-3.C
blob
99faac7bc55d5f242457be0eaeda2df79454c3f4
1
// PR debug/41801
2
// { dg-do compile }
3
// { dg-options "-O2 -g" }
4
5
struct T
6
{
7
void
8
foo () volatile
9
{
10
__sync_lock_release (&t);
11
__sync_synchronize ();
12
}
13
bool t;
14
};
15
16
int
17
main ()
18
{
19
T t = { false };
20
t.foo ();
21
}