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

Re: Mixed sparc -m32/-m64 testsuite failures


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 \


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