From: Richard Biener Date: Mon, 14 Jan 2019 13:11:43 +0000 (+0000) Subject: genmatch.c (dt_simplify::gen_1): Change dumping dependent on whether we are in (simpl... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cc0fa5de7ca08eb73cbb253ba7ad79382deabd7;hp=a49a975f0eaf49d9882ba4bf4b583f99d56d0d3a;p=gcc.git genmatch.c (dt_simplify::gen_1): Change dumping dependent on whether we are in (simplify ...) or (match ...) context. 2019-01-14 Richard Biener * genmatch.c (dt_simplify::gen_1): Change dumping dependent on whether we are in (simplify ...) or (match ...) context. From-SVN: r267917 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4a35e2980e..bf6e319ca97 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-01-14 Richard Biener + + * genmatch.c (dt_simplify::gen_1): Change dumping dependent on + whether we are in (simplify ...) or (match ...) context. + 2019-01-14 Jakub Jelinek PR rtl-optimization/88796 diff --git a/gcc/genmatch.c b/gcc/genmatch.c index 5edd39af4cc..7b9b09c7d8b 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,