bpf: create modifier for mem operand for xchg and cmpxchg
[official-gcc.git] / gcc / testsuite / gcc.dg / pr71969-2.c
blob73839a6d0e8090875f669fcf845551802dafd5d4
1 /* PR c/71969 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu99 -fno-gnu89-inline -O2 -fdump-tree-einline-details" } */
5 volatile int v;
6 #define S v++;
7 #define S10 S S S S S S S S S S
8 #define S100 S10 S10 S10 S10 S10 S10 S10 S10 S10 S10
10 extern inline __attribute__((gnu_inline)) void
11 foo (void) { S100 }
13 int
14 main ()
16 foo ();
17 foo ();
18 foo ();
19 foo ();
20 return 0;
23 /* { dg-final { scan-tree-dump-times "Inlining foo/\[0-9\]* into main/\[0-9\]*" 4 "einline" } } */