From: bobk AT ge DOT chem DOT binghamton DOT edu (Bob Kematick) Subject: Re: Array bounds checking Newsgroups: comp.os.msdos.djgpp References: NNTP-Posting-Host: ge.chem.binghamton.edu Message-ID: <34e07b14.0@bingnews.binghamton.edu> Date: 10 Feb 98 16:06:44 GMT Organization: Binghamton University Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote: : On Sat, 7 Feb 1998, Rich wrote: : > Do any of the gcc compilers do array bounds checking during runtime? I : > have a very large program, and it's very likely that some routines are : > overstepping their array boundaries. : There used to be a GCC extension to check array bounds. Last time I : heard about it it was at these URLs: : ftp://dse.doc.ic.ac.uk/pub/misc/bcc : http://www-dse.doc.ic.ac.uk/~rj3/bounds-checking.html : http://www-ala.doc.ic.ac.uk/~phjk/BoundsChecking.html FWIW : It is built in to the emx / nt09c port of gcc.