sparc.c (function_arg_partial_nregs): Use SPARC_INT_ARG_MAX to determine where to...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 3 Jul 2003 18:49:50 +0000 (20:49 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 3 Jul 2003 18:49:50 +0000 (18:49 +0000)
* config/sparc/sparc.c (function_arg_partial_nregs): Use
SPARC_INT_ARG_MAX to determine where to split unnamed
complex FP arguments.

From-SVN: r68900

gcc/ChangeLog
gcc/config/sparc/sparc.c

index 77765f004daf2f7678c8a407f2ef5da80978401e..7e5ccb44da8e39e7d0b3d02075c6063de292bcc6 100644 (file)
@@ -1,3 +1,9 @@
+2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc.c (function_arg_partial_nregs): Use
+       SPARC_INT_ARG_MAX to determine where to split unnamed
+       complex FP arguments.
+
 Thu Jul  3 20:36:47 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
        * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
index 08b0236cd6692bb35208cd9070a864a1e3343320..617a964b6191eeaffa9b0016518a49b26e4a1ca0 100644 (file)
@@ -1,8 +1,8 @@
-/* Subroutines for insn-output.c for Sun SPARC.
+/* Subroutines for insn-output.c for SPARC.
    Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
    1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
    Contributed by Michael Tiemann (tiemann@cygnus.com)
-   64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
+   64-bit SPARC-V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
    at Cygnus Support.
 
 This file is part of GCC.
@@ -5074,7 +5074,7 @@ function_arg_partial_nregs (cum, mode, type, named)
        }
       else if (GET_MODE_CLASS (mode) == MODE_COMPLEX_INT
               || (GET_MODE_CLASS (mode) == MODE_COMPLEX_FLOAT
-                  && ! TARGET_FPU))
+                  && ! (TARGET_FPU && named)))
        {
          if (GET_MODE_ALIGNMENT (mode) == 128)
            {