🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49478

Re: Is there any way to check for reading/writing beyond array limits?

#49478
From: Michael T.Y. McNamara
Date: Tue, 25 Jan 1994 00:01
22 lines
1630 bytes
In article <2hn0jn$jt2@gap.cco.caltech.edu>
ernst@isis.klab.caltech.edu (Ernst Niebur) asks in essense, is there a
compiler option that will at runtime check for accesses going beyond
array boundries.

Yes, a compiler has been produced with such an option.  It was the
Ardent Computer C compiler. The company Kubtoa Pacific still sells
these machines.

But the point is, yes, this has been done on a C compiler, so via
existance proof, it is possible for someone to add this feature to
GCC.

-mac



--
,------. Michael McNamara  Send mail to info@chronologic.com for INFO
|CHRONO|LOGIC  SIMULATION      to support@chronologic.com for SUPPORT
`------' See our AD in EE Times!  For information, call 1-800-VERILOG
Technical Details
Message-ID: <MAC.94Jan24160142@rhea.chronologic.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!news.kpc.com!kpc!chrnlgc!themis!mac
References: <2hn0jn$jt2@gap.cco.caltech.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,ddf14da43565a1f5
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-01-25 04:44:33 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!news.kpc.com!kpc!chrnlgc!themis!mac
From: mac@rhea.chronologic.com (Michael T.Y. McNamara)
Subject: Re: Is there any way to check for reading/writing beyond array limits?
In-Reply-To: ernst@isis.klab.caltech.edu's message of 20 Jan 1994 22:29:11 GMT
To: ernst@isis.klab.caltech.edu (Ernst Niebur)
Message-ID: <MAC.94Jan24160142@rhea.chronologic.com>
Lines: 22
Sender: usenet@chronologic.com
Nntp-Posting-Host: rhea
Reply-To: mac@chronologic.com
Organization: Chronologic Simulation
References: <2hn0jn$jt2@gap.cco.caltech.edu>
Date: Tue, 25 Jan 1994 00:01:41 GMT