This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, RFC] Dumping expanded MD files


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.

ChangeLog

2012-11-22  Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

        * Makefile.in: Add targets mddump and mddump-gcc for dumping expanded
         MD-files.

gcc/ChangeLog

2012-11-22  Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

        * Makefile.in: Add targets s-mddump, build/genmddump.o.  Extend
        genprogrtl with mddump.

        * genmddump.c: New.
        * gensupport.c (dump_rtl_queue): New.
        (dump_expanded_md): New.
        * gensupport.h: Declare dump_expanded_md.

What do you guys think?

Thanks, K

Attachment: md_expanded_dumping-1.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]