From c3427c7d9da7c93127f1c37aa57ce32569647af2 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 3 Jul 2003 20:49:50 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/sparc/sparc.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77765f004da..7e5ccb44da8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-07-03 Eric Botcazou + + * 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 * 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 08b0236cd66..617a964b619 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) { -- 2.30.2