From: Jan Hubicka Date: Mon, 25 Jun 2018 12:29:45 +0000 (+0200) Subject: lto-section-out.c (lto_begin_section): Do not print section name for noaddr and unnum... X-Git-Tag: upstream/12.2.0~30756 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa7c78ca059c8c3d4f14f3ce445a6cc1367be02d;p=platform%2Fupstream%2Fgcc.git 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 --- 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 + + * lto-section-out.c (lto_begin_section): Do not print section + name for noaddr and unnumbered dumps. + 2018-06-25 Richard Biener * 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);