public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/marxin/heads/dumpall-to-devnull)] Dump all to /dev/null.
Date: Thu,  6 Oct 2022 11:56:11 +0000 (GMT)	[thread overview]
Message-ID: <20221006115611.36DE93841889@sourceware.org> (raw)

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

commit de11e080da0e0cb651a2b22fa3c4b459e32010ef
Author: Martin Liska <mliska@suse.cz>
Date:   Thu Oct 6 13:55:48 2022 +0200

    Dump all to /dev/null.

Diff:
---
 gcc/toplev.cc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gcc/toplev.cc b/gcc/toplev.cc
index 924871fa9a8..c613dce344d 100644
--- a/gcc/toplev.cc
+++ b/gcc/toplev.cc
@@ -2248,6 +2248,13 @@ toplev::main (int argc, char **argv)
 
   handle_common_deferred_options ();
 
+  if (getenv ("DUMPALL"))
+    {
+      g->get_dumps ()->dump_switch_p ("ipa-all=/dev/null");
+      g->get_dumps ()->dump_switch_p ("tree-all=/dev/null");
+      g->get_dumps ()->dump_switch_p ("rtl-all=/dev/null");
+    }
+
   init_local_tick ();
 
   initialize_plugins ();

                 reply	other threads:[~2022-10-06 11:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221006115611.36DE93841889@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).