Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!bruce!labtam!foster!cbp From: cbp@foster.avid.oz (Cameron Paine) Newsgroups: comp.std.c Subject: Re: Evaluation of expressions involving string literals Keywords: string literal; expression; pointer arithmetic; broken compiler? Message-ID: <1990Oct12.015313.20179@foster.avid.oz> Date: 12 Oct 90 01:53:13 GMT References: <1990Oct11.064854.12867@foster.avid.oz> Organization: Avid Systems Pty Ltd, Melbourne, Australia. Lines: 15 In <1990Oct11.064854.12867@foster.avid.oz> I wrote: >I'm porting some code to an ANSI-conforming compiler and have encountered >an anomaly which my reading of K&R(2) and H&S(2) hasn't resolved... Email respondents have unequivocally indicated that the compiler is broken. Thanks to Doug Gwyn, Bill Wells and Steve Clamage (and any others who's mail I've yet to receive -- it takes a while to get Down Under). I guess it's time to file YACB report. Cameron -- cbp@foster.avid.oz - ACSnet cbp@foster.avid.oz.au - Internet ...!{hplabs,mcvax,nttlab,ukc,uunet}!munnari!foster.avid.oz.au!cbp - UUCP