https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81721
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-04-01 Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 46071 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46071&action=edit New patch Turns out the fix is simple. If we have a SPELL_OPERATOR where the flags is set NAMED_OP, then we need say node needs to be walked for PCH to keep around.