aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2018-06-25 14:29:45 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2018-06-25 12:29:45 +0000
commitaa7c78ca059c8c3d4f14f3ce445a6cc1367be02d (patch)
tree9dfb6bedfe7841e031d7da0c1bd6ea647d86596c /gcc
parentca823c85882f5a0ca9779d8cd7adfcec02549d3b (diff)
downloadgcc-aa7c78ca059c8c3d4f14f3ce445a6cc1367be02d.zip
gcc-aa7c78ca059c8c3d4f14f3ce445a6cc1367be02d.tar.gz
gcc-aa7c78ca059c8c3d4f14f3ce445a6cc1367be02d.tar.bz2
lto-section-out.c (lto_begin_section): Do not print section name for noaddr and unnumbered dumps.
* lto-section-out.c (lto_begin_section): Do not print section name for noaddr and unnumbered dumps. From-SVN: r262013
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/lto-section-out.c10
2 files changed, 13 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0211050..1c44a19 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2018-06-25 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto-section-out.c (lto_begin_section): Do not print section
+ name for noaddr and unnumbered dumps.
+
2018-06-25 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (struct vec_info_shared): New structure
diff --git a/gcc/lto-section-out.c b/gcc/lto-section-out.c
index 2dfe64c..9626502 100644
--- a/gcc/lto-section-out.c
+++ b/gcc/lto-section-out.c
@@ -68,8 +68,14 @@ lto_begin_section (const char *name, bool compress)
lang_hooks.lto.begin_section (name);
if (streamer_dump_file)
- fprintf (streamer_dump_file, "Creating %ssection %s\n",
- compress ? "compressed " : "", name);
+ {
+ if (flag_dump_unnumbered || flag_dump_noaddr)
+ fprintf (streamer_dump_file, "Creating %ssection\n",
+ compress ? "compressed " : "");
+ else
+ fprintf (streamer_dump_file, "Creating %ssection %s\n",
+ compress ? "compressed " : "", name);
+ }
gcc_assert (compression_stream == NULL);
if (compress)
compression_stream = lto_start_compression (lto_append_data, NULL);