aboutsummaryrefslogtreecommitdiff
path: root/gcc/genmatch.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-05-25 12:08:02 +0200
committerMartin Liska <marxin@gcc.gnu.org>2017-05-25 10:08:02 +0000
commit56af751e21b1397bfc1ba7aba8dfa18aebc4c209 (patch)
treeb1a939271deb5cbc463ff375077f63df666a437c /gcc/genmatch.c
parent18c1e9e024fe76f61424d5b0a24ce7b502a1f4b5 (diff)
downloadgcc-56af751e21b1397bfc1ba7aba8dfa18aebc4c209.zip
gcc-56af751e21b1397bfc1ba7aba8dfa18aebc4c209.tar.gz
gcc-56af751e21b1397bfc1ba7aba8dfa18aebc4c209.tar.bz2
Add -fdump*-folding suboption.
2017-05-25 Martin Liska <mliska@suse.cz> * dumpfile.c: Add TDF_FOLDING. * dumpfile.h (enum dump_kind): Likewise. * genmatch.c (dt_simplify::gen_1): Use it. From-SVN: r248452
Diffstat (limited to 'gcc/genmatch.c')
-rw-r--r--gcc/genmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genmatch.c b/gcc/genmatch.c
index 2c3183b..f20e39f 100644
--- a/gcc/genmatch.c
+++ b/gcc/genmatch.c
@@ -3191,7 +3191,7 @@ dt_simplify::gen_1 (FILE *f, int indent, bool gimple, operand *result)
}
}
- fprintf_indent (f, indent, "if (dump_file && (dump_flags & TDF_DETAILS)) "
+ fprintf_indent (f, indent, "if (dump_file && (dump_flags & TDF_FOLDING)) "
"fprintf (dump_file, \"Applying pattern ");
output_line_directive (f,
result ? result->location : s->match->location, true);