From 19dd6f8c05ad9819e7a6eafa174666b43874bcf2 Mon Sep 17 00:00:00 2001 From: nemet Date: Fri, 10 Mar 2006 20:22:05 +0000 Subject: [PATCH] * genpreds.c (write_insn_constraint_len): Change definition of insn_constraint_len to return size_t to match the declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111940 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/genpreds.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f7f45d2f9cb..8bb4a2af011 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-03-10 Adam Nemet + + * genpreds.c (write_insn_constraint_len): Change definition of + insn_constraint_len to return size_t to match the declaration. + 2006-03-10 DJ Delorie * config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Bit numbers diff --git a/gcc/genpreds.c b/gcc/genpreds.c index 9c0bb352e17..aa941ce107e 100644 --- a/gcc/genpreds.c +++ b/gcc/genpreds.c @@ -904,7 +904,7 @@ write_insn_constraint_len (void) if (constraint_max_namelen == 1) return; - puts ("unsigned int\n" + puts ("size_t\n" "insn_constraint_len (enum constraint_num c)\n" "{\n" " switch (c)\n" -- 2.11.4.GIT