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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
pr52173-1.c
blob
2bda9f52cc90179a003d8a4163e9a3f650621d46
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm -O3" } */
3
4
int
vec
[
500
];
5
6
void
func
()
7
{
8
__transaction_relaxed
9
{
10
vec
[
123
] =
456
;
11
}
12
}
13
14
int
15
main
()
16
{
17
int
i
;
18
for
(
i
=
0
;
i
<
10
; ++
i
)
19
func
();
20
}