bug with -mflat on UltraSparc I
Jim Wilson
wilson@cygnus.com
Mon May 11 18:37:00 GMT 1998
The addition of the SPARC V9 support accidentally broke the -mflat support.
I installed the following patch to fix this testcase. -mflat support isn't
tested very often, so it is possible that there are other problems too.
Mon May 11 17:38:34 1998 Jim Wilson <wilson@cygnus.com>
* sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
Index: sparc.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/sparc/sparc.h,v
retrieving revision 1.22
diff -p -r1.22 sparc.h
*** sparc.h 1998/05/03 14:19:43 1.22
--- sparc.h 1998/05/12 00:38:19
*************** if (TARGET_ARCH64 \
*** 833,839 ****
/* Argument passing regs. */
#define SPARC_OUTGOING_INT_ARG_FIRST 8
! #define SPARC_INCOMING_INT_ARG_FIRST 24
#define SPARC_FP_ARG_FIRST 32
/* 1 for registers that have pervasive standard uses
--- 833,839 ----
/* Argument passing regs. */
#define SPARC_OUTGOING_INT_ARG_FIRST 8
! #define SPARC_INCOMING_INT_ARG_FIRST (TARGET_FLAT ? 8 : 24)
#define SPARC_FP_ARG_FIRST 32
/* 1 for registers that have pervasive standard uses
More information about the Gcc-bugs
mailing list