3 /* { dg-options "-g" } */
5 static int v
__attribute__((used
));
7 static void __attribute__((noipa
))
12 *p
= 1; /* { dg-final { gdb-test . "!!c" "0" } } */
13 /* c may very well be optimized out at this point, so we test !c,
14 which will evaluate to the expected value. We just want to make
15 sure it doesn't remain bound to *p as it did before, in which
16 case !c would evaluate to 0. *p may also be regarded as aliasing
17 register saves, thus the !!c above. */
18 v
= 0; /* { dg-final { gdb-test . "!c" "1" } } */