aboutsummaryrefslogtreecommitdiff
path: root/gcc/genmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genmatch.c')
-rw-r--r--gcc/genmatch.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/genmatch.c b/gcc/genmatch.c
index 5edd39a..7b9b09c 100644
--- a/gcc/genmatch.c
+++ b/gcc/genmatch.c
@@ -3311,7 +3311,9 @@ dt_simplify::gen_1 (FILE *f, int indent, bool gimple, operand *result)
}
fprintf_indent (f, indent, "if (__builtin_expect (dump_file && (dump_flags & TDF_FOLDING), 0)) "
- "fprintf (dump_file, \"Applying pattern ");
+ "fprintf (dump_file, \"%s ",
+ s->kind == simplify::SIMPLIFY
+ ? "Applying pattern" : "Matching expression");
fprintf (f, "%%s:%%d, %%s:%%d\\n\", ");
output_line_directive (f,
result ? result->location : s->match->location, true,