IRA: Ignore debug insns for uses in split_live_ranges_for_shrink_wrap. [PR116179]
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / pr96646.c
blob2ac5a03b0e5d8fca96545051154709e899a007a7
1 /* { dg-additional-options "-O1" } */
3 struct zx {
4 struct zx *b4, *g0;
5 };
7 struct oo {
8 void *ph;
9 struct zx el;
12 inline void
13 k7 (struct zx *xj)
15 xj->b4->g0 = 0; /* { dg-warning "dereference of NULL" } */
16 xj->b4 = 0;
19 void
20 n8 (struct oo *yx)
22 k7 (&yx->el);
23 n8 (yx);