https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69981
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.org --- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to David L. from comment #6) > Created attachment 37808 [details] > patch (gcc-5.3.0) > > patch attached (probably makes the user's PC explode and burns down their > house) > > varpool_node::finalize_decl (tree decl) > - node->force_output = true; > + node->force_output = !TREE_READONLY (decl) || flag_keep_static_consts; Patches go to the gcc-patches mailing list