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
PR c++/37276
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr50571.c
blob
3fb4310d6843204ca2116b9df3f0524fcf1d5abf
1
/* PR inline-asm/50571 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
static const int
var
[
4
] = {
1
,
2
,
3
,
4
};
6
7
void
8
foo
(
void
)
9
{
10
__asm
volatile
(
""
: :
"m"
(*(
int
*)
var
));
11
}