From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 36DE93841889; Thu, 6 Oct 2022 11:56:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 36DE93841889 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665057371; bh=sQD94y9pSQ5VJq9kyROdyZZhV4dqdjD559/LX//ShQg=; h=From:To:Subject:Date:From; b=O79rV+oMmTR6WP0MPXHYPjBZLM6gWvZX25lWMnA6wxBzkK5NHXT9ALQivDR5YGWyp o5eEPnS9vz6o95qNQ1o+wMGA0OorJN5+8KvZqxSwVsnfxSY5hnnXg2HE7g2U3UIR9s VINyypNPR93BIBhNPsCzzSO07v9EUbgoGbd3oxRs= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/dumpall-to-devnull)] Dump all to /dev/null. X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/dumpall-to-devnull X-Git-Oldrev: db2f5d661239737157cf131de7d4df1c17d8d88d X-Git-Newrev: de11e080da0e0cb651a2b22fa3c4b459e32010ef Message-Id: <20221006115611.36DE93841889@sourceware.org> Date: Thu, 6 Oct 2022 11:56:11 +0000 (GMT) List-Id: https://gcc.gnu.org/g:de11e080da0e0cb651a2b22fa3c4b459e32010ef commit de11e080da0e0cb651a2b22fa3c4b459e32010ef Author: Martin Liska 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 ();