]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/lto-section-out.c
c++: Handle multiple aggregate overloads [PR95319].
[thirdparty/gcc.git] / gcc / lto-section-out.c
index 7ae102164eff25e2528c22aee894210c97b2c1b9..0182cd6059ef0093ac75c2fe25cdcb8adbd8c786 100644 (file)
@@ -1,6 +1,6 @@
 /* Functions for writing LTO sections.
 
-   Copyright (C) 2009-2019 Free Software Foundation, Inc.
+   Copyright (C) 2009-2020 Free Software Foundation, Inc.
    Contributed by Kenneth Zadeck <zadeck@naturalbridge.com>
 
 This file is part of GCC.
@@ -170,7 +170,7 @@ lto_output_decl_index (struct lto_output_stream *obs,
       index = encoder->trees.length ();
       if (streamer_dump_file)
        {
-         print_node_brief (streamer_dump_file, "    Encoding indexable ",
+         print_node_brief (streamer_dump_file, "     Encoding indexable ",
                            name, 4);
          fprintf (streamer_dump_file, "  as %i \n", index);
        }
@@ -278,7 +278,7 @@ lto_destroy_simple_output_block (struct lto_simple_output_block *ob)
   char *section_name;
   struct lto_simple_header header;
 
-  section_name = lto_get_section_name (ob->section_type, NULL, NULL);
+  section_name = lto_get_section_name (ob->section_type, NULL, 0, NULL);
   lto_begin_section (section_name, !flag_wpa);
   free (section_name);