Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!hunter.premier.net!news.mathworks.com!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!uknet!newsfeed.ed.ac.uk!edcogsci!richard From: richard@cogsci.ed.ac.uk (Richard Tobin) Subject: Re: Compiler bug? Message-ID: <E1styv.F2t@cogsci.ed.ac.uk> Organization: HCRC, University of Edinburgh References: <55tf99$6b5@garuda.synet.net> <57hsae$cpm@uwm.edu> Date: Mon, 2 Dec 1996 18:28:07 GMT Lines: 17 In article <57hsae$cpm@uwm.edu> bacon@alpha1.csd.uwm.edu writes: >> >> a=c[b++]|((c[b++])<<8); >The behaviour of this statement *is* well defined. No. >The | operator evaluates left to right, You're thinking of ||. The order of evaluation of the operands to | is not defined. -- Richard -- "Nothing can stop me now... except microscopic germs"