re PR debug/77692 (gcc.dg/debug/dwarf2/const-2b.c FAILs)
authorRichard Biener <rguenther@suse.de>
Mon, 26 Sep 2016 07:33:33 +0000 (07:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 26 Sep 2016 07:33:33 +0000 (07:33 +0000)
commite6358ebda41b1adabd1037824c03c334d6395ccf
treed4a9ade717262e003ea2e5026d262f5d369d38a9
parentec0dba2b3ae4f555c3b0bf34fa4cf551b0f0e77d
re PR debug/77692 (gcc.dg/debug/dwarf2/const-2b.c FAILs)

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.

From-SVN: r240483
gcc/ChangeLog
gcc/cgraphunit.c