From: John David Anglin Date: Fri, 5 Aug 2005 20:32:49 +0000 (+0000) Subject: * pa.c (function_arg): Fix typo in last change. X-Git-Tag: releases/gcc-3.4.5~276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4eda57d5bb0b407b0b0beb8ecf4fd3fd9d86514;p=thirdparty%2Fgcc.git * pa.c (function_arg): Fix typo in last change. From-SVN: r102781 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bbabcf8e87a3..5fdfb67d9804 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2005-08-05 John David Anglin + * pa.c (function_arg): Fix typo in last change. + * pa.c (function_value): Handle small aggregates on 32-bit targets. (function_arg): Pass small aggregates in general registers on 32-bit targets. diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index e04d1850f5de..3a5d003114eb 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -8982,7 +8982,7 @@ function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode, tree type, justification of BLKmode data when it has a size greater than one word. Splitting the operation into two SImode loads or returning a DImode REG results in left justified data. */ - if (mode == BLKmode (type && AGGREGATE_TYPE_P (type))) + if (mode == BLKmode || (type && AGGREGATE_TYPE_P (type))) { rtx loc = gen_rtx_EXPR_LIST (VOIDmode, gen_rtx_REG (DImode, gpr_reg_base),