Bug path

test_2
‘test_2’: event 1
15 ((int*) &c2)[5] = 10; /* { dg-warning "write to 'const' object 'c2'" } */
~~~~~~~~~~~~~~~~^~~~
|
(1) write to ‘const’ object ‘c2’ here