This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Testsuite tweaks on SPARC
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 22 Mar 2004 02:39:34 -0500
- Subject: Re: Testsuite tweaks on SPARC
- References: <200403220818.45439.ebotcazou@libertysurf.fr>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Mar 22, 2004 at 08:27:41AM +0100, Eric Botcazou wrote:
> The 3 testcases gcc.dg/ultrasp2.c, gcc.dg/ultrasp4.c and gcc.dg/ultrasp8.c
> fail on sparc64-*-* with -m32 because they explicitly pass -m64 to the
> compiler. This is unnecessary since the code produced by a sparc64-*-*
> compiler is 64-bit by default.
That's not true, it depends how the compiler is configured.
../configure sparc64-redhat-linux --with-cpu=v7
will build a SPARC bi-arch compiler which defaults to -m32, but supports
-m64 as well.
../configure sparc64-redhat-linux
is a bi-arch compiler which defaults to -m64.
So the -m64 there is certainly not redundant.
What problems does it cause on Solaris?
Jakub