https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77692
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Mon Sep 26 07:33:33 2016 New Revision: 240483 URL: https://gcc.gnu.org/viewcvs?rev=240483&root=gcc&view=rev Log: 2016-09-26 Richard Biener <rguent...@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. Modified: trunk/gcc/ChangeLog trunk/gcc/cgraphunit.c