☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr84961-2.C
☽
☼
gcc/testsuite/g++.dg/torture/pr84961-2.C
code
plain
raw
1
// PR c++/84961
2
// { dg-do compile }
3
4
short a;
5
volatile int b;
6
int c, d;
7
8
void
9
foo ()
10
{
11
asm volatile ("" : : "m" (b = a));
12
}
13
14
void
15
bar ()
16
{
17
asm volatile ("" : : "m" (++c, ++d, b = a));
18
}
19
20
void
21
baz ()
22
{
23
asm volatile ("" : : "m" (--b));
24
}