From: Andrew Pinski Date: Sun, 18 Jan 2004 03:46:56 +0000 (-0800) Subject: 2004-1-17 Andrew Pinski X-Git-Tag: releases/gcc-4.0.0~10967 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19d66194e825c2561a02ff1499bb7885d90648ac;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80ce8b57f25c..1667afefc21a 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 b98027ef8229..2dcdd0df34eb 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 0a5de536d91d..2dead2c9b18f 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);