| 
  
     ‘maybe_calls_free_1’: events 9-12 
|     5 | static void maybe_calls_free_1(int *q, int flag) |  
 |             ^~~~~~~~~~~~~~~~~~ |  
 |             | |  
 |             (9) entry to ‘maybe_calls_free_1’ |  
|     6 | { |  
|     7 |   if (flag) |  
 |      ~        |  
 |      | |  
 |      (10) following ‘true’ branch (when ‘flag != 0’)... |  
|     8 |     free(q); /* { dg-warning "double-'free' of 'q'" } */ |  
 |     ~~~~~~~   |  
 |     | |  
 |     (11) ...to here |  
 |     (12) second ‘free’ here; first ‘free’ was at (6) |  
 
 |