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++: Implement for namespace statics CWG 2867 - Order of initialization for structure...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr84941.c
blob
a3a4fdcbb24dd7ebcccb739c572850d8eb6da0e1
1
/* PR inline-asm/84941 */
2
/* { dg-do compile } */
3
/* { dg-skip-if "asm operand has impossible constraints" { hppa*-*-* } } */
4
/* { dg-options "-O2" } */
5
6
void
7
foo
(
void
)
8
{
9
short
*
b
[
1
] = {
0
};
10
asm
volatile
(
""
:
"=m,m"
(
b
),
"=r,r"
(
b
) :
"1,p"
(
b
));
11
}