diff options
author | nemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-10 20:22:05 +0000 |
---|---|---|
committer | nemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-10 20:22:05 +0000 |
commit | 19dd6f8c05ad9819e7a6eafa174666b43874bcf2 (patch) | |
tree | 8dd3936a28e1dba812d6662984d2d7dfcf67d59f /gcc | |
parent | e282424f4fcb401ab95497da1e284344663fb759 (diff) | |
download | gcc-19dd6f8c05ad9819e7a6eafa174666b43874bcf2.tar.gz |
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/genpreds.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <anemet@caviumnetworks.com> + + * 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 <dj@redhat.com> * 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" |