From 19cf9bde76edc1c14f233b08c3d7866150b01b83 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Tue, 16 Nov 2010 15:48:28 +0000 Subject: [PATCH] arc.c: Delete pasto. * config/arc/arc.c: Delete pasto. * config/pa/pa.c (pa_function_arg_boundary): Add missing comparison. From-SVN: r166806 --- gcc/ChangeLog | 5 +++++ gcc/config/arc/arc.c | 4 ---- gcc/config/pa/pa.c | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 03c109aa286..1ba5586ea78 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-11-16 Nathan Froyd + + * config/arc/arc.c: Delete pasto. + * config/pa/pa.c (pa_function_arg_boundary): Add missing comparison. + 2010-11-16 Anatoly Sokolov * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS, diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index 2b1c704b318..d822f59eb98 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -2426,10 +2426,6 @@ arc_function_arg_advance (CUMULATIVE_ARGS *cum, enum machine_mode mode, + ROUND_ADVANCE_ARG (mode, type)); } -/* If defined, a C expression that gives the alignment boundary, in bits, - of an argument with the specified mode and type. If it is not defined, - PARM_BOUNDARY is used for all arguments. */ -#define FUNCTION_ARG_BOUNDARY(MODE, TYPE) \ /* Worker function for TARGET_FUNCTION_ARG_BOUNDARY. */ static unsigned int diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 988d80fcd1f..366ce015bcf 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -9613,7 +9613,7 @@ pa_function_arg_boundary (enum machine_mode mode, const_tree type) ? (integer_zerop (size) || !TREE_CONSTANT (size) || int_size_in_bytes (type) <= UNITS_PER_WORD) - : GET_MODE_SIZE (mode)); + : GET_MODE_SIZE (mode) <= UNITS_PER_WORD); return singleword ? PARM_BOUNDARY : MAX_PARM_BOUNDARY; }