Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / torture / pr84961-1.C
blob6a72ad5134fc30cdd0930f0af7027a6ce808d24b
1 // PR c++/84961
2 // { dg-do compile }
4 short a;
5 volatile int b;
6 int c, d;
8 void
9 foo ()
11   asm volatile ("" : "=r" (b = a));
14 void
15 bar ()
17   asm volatile ("" : "=r" (++c, ++d, b = a));
20 void
21 baz ()
23   asm volatile ("" : "=r" (--b));