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
Avoid repeated calls to temporarily_undo_changes [PR117297]
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
tm
/
inline-asm.c
blob
176266893e9d5986cae52944867d7ef572dc1c5d
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm -O1 -fno-ipa-modref -fno-ipa-pure-const" } */
3
4
static
inline
void
5
inline_death
()
6
{
7
__asm__
(
""
);
/* { dg-error "'asm' not allowed" } */
8
}
9
10
void
11
tranfunction
()
12
{
13
__transaction_atomic
14
{
15
inline_death
();
16
}
17
}