> >
> 
> I got
> 
> ../../src-master/gcc/lto-streamer-out.c: In constructor
> ??DFS::DFS(output_block*, tree, bool, bool, bool)??:
> ../../src-master/gcc/lto-streamer-out.c:807:10: error: too many
> arguments for format [-Werror=format-extra-args]
>   807 |          "     Streaming single tree\n", size);
>       |          ^~~~~
> 
> Can you fix it?
Sorry,
I fixed it by this patch

        * lto-streamer-out.c (DFS::DFS): Silence warning.

diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c
index 5ff7f33bfb1..887a51d3eae 100644
--- a/gcc/lto-streamer-out.c
+++ b/gcc/lto-streamer-out.c
@@ -803,8 +803,7 @@ DFS::DFS (struct output_block *ob, tree expr, bool ref_p, 
bool this_ref_p,
            }
          else if (streamer_dump_file)
            {
-             fprintf (streamer_dump_file,
-                      "     Streaming single tree\n", size);
+             fprintf (streamer_dump_file, "     Streaming single tree\n");
            }
 
          /* Write size-1 SCCs without wrapping them inside SCC bundles.

Reply via email to