From 19d66194e825c2561a02ff1499bb7885d90648ac Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sat, 17 Jan 2004 19:46:56 -0800 Subject: 2004-1-17 Andrew Pinski * config/rs6000/rs6000.c (rs6000_special_round_type_align): Return type is unsigned int not int. * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align): Likewise. From-SVN: r76081 --- gcc/ChangeLog | 7 +++++++ gcc/config/rs6000/rs6000-protos.h | 2 +- gcc/config/rs6000/rs6000.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80ce8b5..1667afe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-1-17 Andrew Pinski + + * config/rs6000/rs6000.c (rs6000_special_round_type_align): + Return type is unsigned int not int. + * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align): + Likewise. + 2004-01-18 Joseph S. Myers * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi, diff --git a/gcc/config/rs6000/rs6000-protos.h b/gcc/config/rs6000/rs6000-protos.h index b98027e..2dcdd0d 100644 --- a/gcc/config/rs6000/rs6000-protos.h +++ b/gcc/config/rs6000/rs6000-protos.h @@ -144,7 +144,7 @@ extern rtx rs6000_machopic_legitimize_pic_address (rtx orig, #endif /* RTX_CODE */ #ifdef TREE_CODE -extern int rs6000_special_round_type_align (tree, int, int); +extern unsigned int rs6000_special_round_type_align (tree, int, int); extern void function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode, tree, int); extern int function_arg_boundary (enum machine_mode, tree); diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 0a5de53..2dead2c 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2321,7 +2321,7 @@ input_operand (rtx op, enum machine_mode mode) /* Darwin, AIX increases natural record alignment to doubleword if the first field is an FP double while the FP fields remain word aligned. */ -int +unsigned int rs6000_special_round_type_align (tree type, int computed, int specified) { tree field = TYPE_FIELDS (type); -- cgit v1.1