* [PATCH] Add location to 'two conversions in a row' error
@ 2015-07-22 13:55 Richard Biener
0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2015-07-22 13:55 UTC (permalink / raw)
To: gcc-patches
... and improve wording.
Committed as obvious.
Richard.
2015-07-22 Richard Biener <rguenther@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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-22 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-22 13:55 [PATCH] Add location to 'two conversions in a row' error Richard Biener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).