From mboxrd@z Thu Jan 1 00:00:00 1970 From: Swen Thuemmler To: Lee Iverson Cc: egcs@cygnus.com Subject: Re: Problems on SGI Irix 6.x. Date: Thu, 11 Dec 1997 05:30:00 -0000 Message-id: References: <199712052202.OAA08405@Canada.AI.SRI.COM> X-SW-Source: 1997-12/msg00647.html 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}"