Bug path

test_38
‘test_38’: events 1-2
842 int *ptr = NULL;
^~~
|
(1) ‘ptr’ is NULL
843 return *ptr; /* { dg-warning "dereference of NULL 'ptr'" } */
~~~~
|
(2) dereference of NULL ‘ptr’