https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90306
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Just a wild guess, maybe the following helps - but I have no idea how this was supposed to work. Index: libcpp/pch.c =================================================================== --- libcpp/pch.c (revision 270791) +++ libcpp/pch.c (working copy) @@ -856,6 +856,9 @@ cpp_read_state (cpp_reader *r, const cha free (data); + if (!r->deps) + r->deps = deps_init (); + if (deps_restore (r->deps, f, CPP_OPTION (r, restore_pch_deps) ? name : NULL) != 0) goto error;