From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14039 invoked by alias); 24 Nov 2012 03:00:34 -0000 Received: (qmail 14030 invoked by uid 22791); 24 Nov 2012 03:00:33 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MEDICAL_SUBJECT,TW_NM X-Spam-Check-By: sourceware.org Received: from dair.pair.com (HELO dair.pair.com) (209.68.1.49) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sat, 24 Nov 2012 03:00:28 +0000 Received: (qmail 49913 invoked by uid 20157); 24 Nov 2012 03:00:26 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 24 Nov 2012 03:00:26 -0000 Date: Sat, 24 Nov 2012 03:00:00 -0000 From: Hans-Peter Nilsson To: Kirill Yukhin cc: gcc-patches List Subject: Re: [PATCH, RFC] Dumping expanded MD files In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (BSF 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg01990.txt.bz2 On Thu, 22 Nov 2012, Kirill Yukhin wrote: > Hi folks, > > This patch adds an utility for dumping MD-files after iterators and > define_substs expanding. The new utility is named genmddump and is > built along with other gen* programs. > > I also added new target to Makefile to invoke this utility. However, > I?m not sure it?s general enough to be added to the top-level > makefile, so your suggestions on where we should place it and how it > should be invoked are welcome. > What do you guys think? Very nice. I think it should be enabled and the expanded md be dumped for non-release builds. There's configury bits for the development stage but with loose ends; you'll have to add an AC_SUBST in gcc/configure.ac to use in gcc/Makefile.in, like a @maybe_dumped_md@ set to empty or s-mddump and added to dependencies for "all" (or probably actually some suitable sub-dependency for "all"). brgds, H-P