public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/dumpall-to-devnull)] Dump all to /dev/null.
@ 2022-10-06 11:56 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-10-06 11:56 UTC (permalink / raw)
  To: gcc-cvs

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 ();

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-06 11:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06 11:56 [gcc(refs/users/marxin/heads/dumpall-to-devnull)] Dump all to /dev/null Martin Liska

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).