From: Nathan Sidwell Date: Tue, 3 Nov 2020 14:02:06 +0000 (-0800) Subject: libcpp: unbreak bootstrap X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8909271a2b44fddfb6d3a6719a82e3836ddfcb3;p=gcc.git libcpp: unbreak bootstrap This fixes the bootstrap breakage I caused. Sorry about that. libcpp/ * init.c (cpp_read_main_file): Use cpp_get_deps result. --- diff --git a/libcpp/init.c b/libcpp/init.c index 5b2607e3767..6c52f50de39 100644 --- a/libcpp/init.c +++ b/libcpp/init.c @@ -669,7 +669,7 @@ cpp_read_main_file (cpp_reader *pfile, const char *fname, bool injecting) { if (mkdeps *deps = cpp_get_deps (pfile)) /* Set the default target (if there is none already). */ - deps_add_default_target (pfile->deps, fname); + deps_add_default_target (deps, fname); pfile->main_file = _cpp_find_file (pfile, fname, &pfile->no_search_path, /*angle=*/0,