PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / asm-1.c
blob4dd019bcf92c021b69f4c6d1869164397eca3dcc
1 /* Make sure that gcc understands that an in/out operand is a use as well
2 as a def. */
4 /* { dg-do compile } */
5 /* { dg-options "-O -fdump-tree-optimized-nouid" } */
7 void f()
9 int i = 42;
10 int j = 63;
12 asm ("": "=m"(i), "+r"(j) : "m"(i));
15 /* { dg-final { scan-tree-dump-times "42" 1 "optimized" } } */
16 /* { dg-final { scan-tree-dump-times "63" 1 "optimized" } } */