diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2014-09-01 16:30:00 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2014-09-01 16:30:00 +0200 |
commit | eddcad13f9143b38ed45fcdce364316da6701c7c (patch) | |
tree | 2657d6e9d0acc0a155052b35b2f206f2d33424de /gcc/genemit.c | |
parent | a0791dccfdbf6e037801cb3607e78dae45616391 (diff) | |
download | gcc-eddcad13f9143b38ed45fcdce364316da6701c7c.zip gcc-eddcad13f9143b38ed45fcdce364316da6701c7c.tar.gz gcc-eddcad13f9143b38ed45fcdce364316da6701c7c.tar.bz2 |
genemit.c: Include dumpfile.h.
2014-09-01 Segher Boessenkool <segher@kernel.crashing.org>
* genemit.c: Include dumpfile.h.
(gen_split): Print name of splitter function to dump file.
From-SVN: r214796
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r-- | gcc/genemit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c index 1bc73f0..65434b5 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -578,6 +578,10 @@ gen_split (rtx split) if (GET_CODE (split) == DEFINE_PEEPHOLE2) output_peephole2_scratches (split); + printf (" if (dump_file)\n"); + printf (" fprintf (dump_file, \"Splitting with gen_%s_%d\\n\");\n", + name, insn_code_number); + printf (" start_sequence ();\n"); /* The fourth operand of DEFINE_SPLIT is some code to be executed @@ -813,6 +817,7 @@ from the machine description file `md'. */\n\n"); printf ("#include \"tm-constrs.h\"\n"); printf ("#include \"ggc.h\"\n"); printf ("#include \"basic-block.h\"\n"); + printf ("#include \"dumpfile.h\"\n"); printf ("#include \"target.h\"\n\n"); printf ("#define FAIL return (end_sequence (), _val)\n"); printf ("#define DONE return (_val = get_insns (), end_sequence (), _val)\n\n"); |