2016-09-26 Richard Biener <rguenther@suse.de>
commit3de0cb5e5679e379e3ae56e58b8aa6f17eb25304
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2016 07:33:33 +0000 (26 07:33 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2016 07:33:33 +0000 (26 07:33 +0000)
treed4a9ade717262e003ea2e5026d262f5d369d38a9
parentc5712d12630b8c7332f3ed693c4c470903e9d249
2016-09-26  Richard Biener  <rguenther@suse.de>

PR debug/77692
* cgraphunit.c (analyze_functions): Before early removing
global vars calls the late_global_decl debug handler mark
the variable as readonly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240483 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c