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
* c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
20100524-2.c
blob
a3578cb27974bed9e6620a5fb695706e860e0558
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm -O0" } */
3
4
typedef
struct
{
5
int
value
[
5
];
6
}
type_t
;
7
8
__attribute__
((
transaction_safe
))
9
type_t
func_move
();
10
11
__attribute__
((
transaction_safe
))
12
type_t
func_push
(
int
type
)
13
{
14
type_t trace
;
15
16
if
(
type
==
9
)
17
trace
=
func_move
();
18
19
return
trace
;
20
}