aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2003-07-03 20:49:50 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2003-07-03 18:49:50 +0000
commitc3427c7d9da7c93127f1c37aa57ce32569647af2 (patch)
tree5cb08c7a14a02dfc9832b9b966cd6315cf183a00 /gcc
parentbc35512f0998b6cc547ef6466cd9865c1e927e44 (diff)
downloadgcc-c3427c7d9da7c93127f1c37aa57ce32569647af2.zip
gcc-c3427c7d9da7c93127f1c37aa57ce32569647af2.tar.gz
gcc-c3427c7d9da7c93127f1c37aa57ce32569647af2.tar.bz2
sparc.c (function_arg_partial_nregs): Use SPARC_INT_ARG_MAX to determine where to split unnamed complex FP arguments.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/sparc/sparc.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 77765f0..7e5ccb4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 08b0236..617a964b 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -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)
{