This is the mail archive of the 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]

Re: [PATCH, committed] aix_struct_return and Altivec vrsave

David Edelsohn <> writes:
> 	* config/rs6000/rs6000.opt (maix-struct-return): Convert to
> 	independent variable.  Report mxl-compat.


This breaks LynxOS.  CC1_SPEC under config/rs6000/lynx.h uses
-mno-svr4-struct-return but msvr4-struct-return is RejectNegative now.
Is the patch below OK to change it to pass -maix-struct-return

I regression tested on powerpc-lynx-lynxos.  There are some new FAILs
and new PASSes since last week.  The test gcc.dg/struct-ret-libc.c
that originally prompted -mno-svr4-struct-return is a PASS.


2005-05-24  Adam Nemet  <> 
        * config/rs6000/lynx.h (CC1_SPEC): Use -maix-struct-return instead 
        of -mno-svr4-struct-return. 

Index: lynx.h 
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/lynx.h,v 
retrieving revision 1.18 
diff -u -p -r1.18 lynx.h 
--- lynx.h      21 Apr 2005 07:35:09 -0000      1.18 
+++ lynx.h      24 May 2005 18:38:43 -0000 
@@ -49,7 +49,7 @@ 
 #define CC1_SPEC \ 
 "%{G*} %{mno-sdata:-msdata=none} \ 
  %{maltivec:-mabi=altivec} \ 
- -mno-svr4-struct-return" 
+ -maix-struct-return" 
 #undef ASM_SPEC 
 #define ASM_SPEC \ 

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