This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Mixed sparc -m32/-m64 testsuite failures
- From: Richard Henderson <rth at redhat dot com>
- To: Jim Wilson <wilson at redhat dot com>
- Cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, davem at redhat dot com, gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, jakub at redhat dot com, pfeifer at dbai dot tuwien dot ac dot at, tromey at redhat dot com
- Date: Tue, 16 Apr 2002 18:33:47 -0700
- Subject: Re: Mixed sparc -m32/-m64 testsuite failures
- References: <200204131332.JAA08452@caip.rutgers.edu> <xwug01v90da.fsf@remus.sfbay.redhat.com>
On Tue, Apr 16, 2002 at 07:36:17AM -0700, Jim Wilson wrote:
> Use %e to print an error message. gcc/config/mips/mips.h for instance has
> %{mgp32: %{mfp64:%emay not use both -mgp32 and -mfp64}
Good idea.
r~
* config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
Index: sol2-bi.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/sol2-bi.h,v
retrieving revision 1.1.2.1
diff -c -p -d -r1.1.2.1 sol2-bi.h
*** sol2-bi.h 12 Apr 2002 22:46:27 -0000 1.1.2.1
--- sol2-bi.h 17 Apr 2002 01:31:37 -0000
***************
*** 237,242 ****
--- 237,243 ----
%{mcypress:-mcpu=cypress} \
%{msparclite:-mcpu=sparclite} %{mf930:-mcpu=f930} %{mf934:-mcpu=f934} \
%{mv8:-mcpu=v8} %{msupersparc:-mcpu=supersparc} \
+ %{m32:%{m64:%emay not use both -m32 and -m64}} \
%{m64:-mptr64 -mstack-bias -mno-v8plus \
%{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8*:%{!msupersparc:-mcpu=v9}}}}}}}} \
"
***************
*** 246,251 ****
--- 247,253 ----
%{mcypress:-mcpu=cypress} \
%{msparclite:-mcpu=sparclite} %{mf930:-mcpu=f930} %{mf934:-mcpu=f934} \
%{mv8:-mcpu=v8} %{msupersparc:-mcpu=supersparc} \
+ %{m32:%{m64:%emay not use both -m32 and -m64}} \
%{m32:-mptr32 -mno-stack-bias \
%{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8*:%{!msupersparc:-mcpu=cypress}}}}}}}} \
%{mv8plus:-m32 -mptr32 -mno-stack-bias \