🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #72029

Re: configure

#72029
From: James Clark
Date: Wed, 13 May 1992 00:50
24 lines
1668 bytes
In article <up2tgINN8kq@agate.berkeley.edu> jbuck@forney.berkeley.edu (Joe Buck) writes:

   In article <JJC.92May12113813@jclark.com>, jjc@jclark.com (James Clark) writes:
   |> gcc 2.1 has a bug that can cause `delete' occasionally to pass the
   |> wrong address to free().  I couldn't find any way to work around this
   |> bug other than patching gcc.  g++ 1.40.3 needs no patches to compile
   |> groff.

   Are you sure the bug is in gcc 2.1, and not in groff for incorrectly using
   "delete ptrToArray" where the ARM requires "delete [] ptrToArray" ?

The current version of groff by default uses delete [] as the ARM
requires, although it can be configured to work with 2.0 compilers as
well.

   It
   appears that all your patch does is restore backward bug-compatibility.

The patch in fact disables a flawed backward compatibility feature in
gcc 2.1.  (I can't claim credit for the patch: it was posted to
bug-gcc by somebody else.)

James Clark
jjc@jclark.com
Technical Details
Message-ID: <JJC.92May13005055@jclark.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!jclark!jjc
References: <1992May11.203911.21688@u.washington.edu> <creiman.705623895@void> <JJC.92May12113813@jclark.com> <up2tgINN8kq@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,7577a8c24a7e03e3
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1992-05-12 11:08:56 PST
Newsgroups: gnu.misc.discuss
Path: arc1-ca.pugleaf.net!sparky!uunet!jclark!jjc
From: jjc@jclark.com (James Clark)
Subject: Re: configure
In-Reply-To: jbuck@forney.berkeley.edu's message of 12 May 92 18:31:12 GMT
Message-ID: <JJC.92May13005055@jclark.com>
Sender: jjc@jclark.com (James Clark)
Organization: None, London, England
References: <1992May11.203911.21688@u.washington.edu> <creiman.705623895@void>
 <JJC.92May12113813@jclark.com> <up2tgINN8kq@agate.berkeley.edu>
Date: 13 May 92 00:50:55
Lines: 24