... and improve wording.

Committed as obvious.

Richard.

2015-07-22  Richard Biener  <rguent...@suse.de>

        * genmatch.c (expr::gen_transform): Clarify error message
        and display location.

Index: gcc/genmatch.c
===================================================================
--- gcc/genmatch.c      (revision 226067)
+++ gcc/genmatch.c      (working copy)
@@ -1877,7 +1890,7 @@ expr::gen_transform (FILE *f, int indent
       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;

Reply via email to