]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* pa.c (function_arg): Fix typo in last change.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Fri, 5 Aug 2005 20:32:49 +0000 (20:32 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 5 Aug 2005 20:32:49 +0000 (20:32 +0000)
From-SVN: r102781

gcc/ChangeLog
gcc/config/pa/pa.c

index bbabcf8e87a35fdceaa2cb48b4804d7eee29450f..5fdfb67d9804e1596bc9a0ec5a005197ec14822f 100644 (file)
@@ -1,5 +1,7 @@
 2005-08-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
+       * 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.
index e04d1850f5dea2f2c153bf644d8f1ad1bf132c63..3a5d003114eba74c3a6e208b88a441aec3375d0c 100644 (file)
@@ -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),