This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [COMMITTED] Re: GCC build failed for native with your patch on 2004-01-17T23:01:02Z.
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-regression at gcc dot gnu dot org
- Cc: fnf at intrinsity dot com, Gcc Patch List <gcc-patches at gcc dot gnu dot org>, Andrew Pinski <pinskia at physics dot uc dot edu>, Daniel Jacobowitz <drow at mvista dot com>
- Date: Sat, 17 Jan 2004 19:43:19 -0800
- Subject: [PATCH] [COMMITTED] Re: GCC build failed for native with your patch on 2004-01-17T23:01:02Z.
- References: <200401172354.i0HNssfb029163@gcc-regress.apple.com>
On Jan 17, 2004, at 15:54, GCC regression checker wrote:
With your recent patch, GCC does not compile on:
native
Attached is build output for those targets.
The build failures are new.
For more information, see http://gcc.gnu.org/regtest/.
<ChangeLog.diff><native-log.txt>--
Geoffrey Keating <geoffk@apple.com>
(via an automated GCC regression-testing script.)
This is my fault, I must have not really bootstrapped when testing my
patch but here is the
fix.
Committed to both the mainline and 3.4 branch.
Thanks,
Andrew Pinski
ChangeLog:
* 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.
Patch:
Index: rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.578
diff -u -p -r1.578 rs6000.c
--- rs6000.c 17 Jan 2004 19:48:50 -0000 1.578
+++ rs6000.c 18 Jan 2004 03:41:13 -0000
@@ -2321,7 +2321,7 @@ input_operand (rtx op, enum machine_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);
Index: rs6000-protos.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000-protos.h,v
retrieving revision 1.72
diff -u -p -r1.72 rs6000-protos.h
--- rs6000-protos.h 17 Jan 2004 19:48:50 -0000 1.72
+++ rs6000-protos.h 18 Jan 2004 03:41:13 -0000
@@ -144,7 +144,7 @@ extern rtx rs6000_machopic_legitimize_pi
#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);