This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems on SGI Irix 6.x.
- To: Lee Iverson <leei at ai dot sri dot com>
- Subject: Re: Problems on SGI Irix 6.x.
- From: Swen Thuemmler <swen at uni-paderborn dot de>
- Date: Thu, 11 Dec 1997 14:22:25 +0100 (MET)
- cc: egcs at cygnus dot com
- Reply-To: egcs at cygnus dot com
On Fri, 5 Dec 1997, Lee Iverson wrote:
> 2) LONG_MAX is set completely wrong under Irix 6.x.
>
> Fixes for both problems are included below.
Your patch does not seem to fix it. The default is a LONG_MAX for
sizeof(long) == 8, but the default for sizeof(long) is 4. If i reverse the
patch below, all seems to be well.
Greetings, Swen
> diff -rpc2 ../DIST-egcs-snapshot/gcc/config/mips/abi64.h ./gcc/config/mips/abi64.h
> *** ../DIST-egcs-snapshot/gcc/config/mips/abi64.h Fri Dec 5 11:34:56 1997
> --- ./gcc/config/mips/abi64.h Wed Sep 17 17:31:49 1997
> *************** extern struct rtx_def *mips_function_val
> *** 215,219 ****
>
> #undef LONG_MAX_SPEC
> ! #define LONG_MAX_SPEC "%{mabi=64: %{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}}"
>
> /* ??? Unimplemented stuff follows. */
> --- 215,219 ----
>
> #undef LONG_MAX_SPEC
> ! #define LONG_MAX_SPEC "%{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}"