https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65807
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 35363 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35363&action=edit gcc5-pr65807.patch Untested obvious fix. I'd say this is safe even for 5.1 at this point. Keeping uninitialized garbage in val_entry pointer is undesirable for GC.