summaryrefslogtreecommitdiff
path: root/gcc/genrecog.c
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-28 07:56:09 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-28 07:56:09 +0000
commit55ab7ff952fa917c277f0bda28359d1bf5701a44 (patch)
treeb54c701a0eaec078df9eb8145e227acc3c26a3d5 /gcc/genrecog.c
parent5d7da0eea19b65555c587fb7c6805244aa2ae85e (diff)
downloadgcc-55ab7ff952fa917c277f0bda28359d1bf5701a44.tar.gz
* genrecog.c (compute_predicate_codes): Avoid warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92668 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r--gcc/genrecog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index 2936f80afc7..ab3b8571c63 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -300,7 +300,8 @@ compute_predicate_codes (rtx exp, char codes[NUM_RTX_CODE])
}
if (!found_it)
{
- message_with_line (pattern_lineno, "match_code \"%.*s\" matches nothing", n, code);
+ message_with_line (pattern_lineno, "match_code \"%.*s\" matches nothing",
+ (int) n, code);
error_count ++;
for (i = 0; i < NUM_RTX_CODE; i++)
if (!strncasecmp (code, GET_RTX_NAME (i), n)