This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] for gcc/testsuite/gcc.dg/builtin-apply4.c failure on x86 Mac OS


We, at Apple, found gcc/testsuite/gcc.dg/builtin-apply4.c failed on x86 Mac OS.
The regression was caused by a fsf ABI change. We must maintain binary compatibility on our platforms.


The following patch has been tested on x86 MacOS with "make all", "-- enable-languages=c,c++,objc,obj-c++", and regression tested with a top- level "make check-gcc" with no regression.

gcc/ChangeLog:

* config/i386/i386.c (ix86_function_arg_regno_p,
ix86_function_value_regno_p) : Put back the code before
the following patch under TARGET_MACHO.
2005-06-16 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.c (ix86_function_arg_regno_p): Add MMX_REGNO_P
for TARGET_MMX. Use MMX_REGPARM_MAX and SSE_REGPARM_MAX for MMX
and SSE registers to determine if regno is valid.
(ix86_function_value_regno_p): Depend FIRST_FLOAT_REG on
TARGET_FLOAT_RETURNS_IN_80387 also for TARGET_64BIT. Clean up.


Attachment: radar-patch.function.txt
Description: Text document


OK for mainline?


Hui-May Chang
Apple Computer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]