Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!sirius.ucs.adelaide.edu.au!augean!sibyl!ian From: ian@sibyl.eleceng.ua.OZ (Ian Dall) Newsgroups: gnu.gcc Subject: Re: foo[n] Message-ID: <479@sibyl.eleceng.ua.OZ> Date: 6 Feb 90 01:28:15 GMT References: Reply-To: ian@sibyl.OZ (Ian Dall) Organization: Engineering, Uni of Adelaide, Australia Lines: 11 In article jb3o+@andrew.cmu.edu (Jon Allen Boone) writes: >Is it true that gcc interprets foo[n] as an array from foo[0] to >coo[n]? No it isn't true, and if it did it would be a bug. However, there may be allignment restrictions which result in the space beyond the end of an array being free. It is not surprising that such incorrect code might sometimes work on one compiler but fail on another. -- Ian Dall life (n). A sexually transmitted disease which afflicts some people more severely than others.