public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-4667] libcpp: unbreak bootstrap
@ 2020-11-03 14:03 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-11-03 14:03 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d8909271a2b44fddfb6d3a6719a82e3836ddfcb3

commit r11-4667-gd8909271a2b44fddfb6d3a6719a82e3836ddfcb3
Author: Nathan Sidwell <nathan@acm.org>
Date:   Tue Nov 3 06:02:06 2020 -0800

    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:
---
 libcpp/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-03 14:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03 14:03 [gcc r11-4667] libcpp: unbreak bootstrap Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).