aboutsummaryrefslogtreecommitdiff
path: root/gcc/genrecog.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-10-14 04:01:59 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-10-14 04:01:59 -0700
commit476a33f4146f5304cc1a9a9b6587d2ba3600b0a6 (patch)
tree93ff3c121a9c61af22023f2e1de6a2b270f09940 /gcc/genrecog.c
parente7bba992a94b62c152798dcfcde52b1f9b442398 (diff)
downloadgcc-476a33f4146f5304cc1a9a9b6587d2ba3600b0a6.zip
gcc-476a33f4146f5304cc1a9a9b6587d2ba3600b0a6.tar.gz
gcc-476a33f4146f5304cc1a9a9b6587d2ba3600b0a6.tar.bz2
genrecog.c (validate_pattern): Condense the destination non-lvalue message.
* genrecog.c (validate_pattern): Condense the destination non-lvalue message. From-SVN: r29974
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r--gcc/genrecog.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index 3636215..6e1af3a 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -509,10 +509,8 @@ validate_pattern (pattern, insn, set_dest)
&& allows_non_lvalue)
{
message_with_line (pattern_lineno,
- "warning: `%s' allows non-lvalue,",
- pred_name);
- message_with_line (pattern_lineno,
- " and used as destination of a set");
+ "warning: destination operand 0 allows non-lvalue",
+ XINT (pattern, 0));
}
/* A modeless MATCH_OPERAND can be handy when we can