From: Richard Biener Date: Wed, 22 Jul 2015 13:18:47 +0000 (+0000) Subject: genmatch.c (expr::gen_transform): Clarify error message and display location. X-Git-Tag: basepoints/gcc-7~5522 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38b52b2fdda5b639f5804297f56d96066a262ae2;p=thirdparty%2Fgcc.git genmatch.c (expr::gen_transform): Clarify error message and display location. 2015-07-22 Richard Biener * genmatch.c (expr::gen_transform): Clarify error message and display location. From-SVN: r226068 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1e93ad9a27d..93139cb40c25 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-07-22 Richard Biener + + * genmatch.c (expr::gen_transform): Clarify error message + and display location. + 2015-07-22 Richard Biener * genmatch.c (struct operand): Add location member. diff --git a/gcc/genmatch.c b/gcc/genmatch.c index 169541767d13..b4ab7b56e723 100644 --- a/gcc/genmatch.c +++ b/gcc/genmatch.c @@ -1877,7 +1877,7 @@ expr::gen_transform (FILE *f, int indent, const char *dest, bool gimple, type = optype; } if (!type) - fatal ("two conversions in a row"); + fatal_at (location, "cannot determine type of operand"); fprintf_indent (f, indent, "{\n"); indent += 2;