🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #457

Re: Bug found in v4 of Acorn C compiler

#457
From: Edward Nevill
Date: Thu, 01 Oct 1992 09:39
8 lines
685 bytes
In article <1992Oct1.033932.22482@cs.aukuni.ac.nz> epoo1@cs.aukuni.ac.nz (Edouard Poor) writes:

>    value = ( ( ( ( WORD ) fgetByte() ) << 8 ) | fgetByte() );

The order of evaluation is not guaranteed in ANSI C. This is a bug in your
program, not the compiler.

Edward (enevill@acorn.co.uk)
Technical Details
Message-ID: <19076@acorn.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!acorn!enevill
References: <1992Oct1.033932.22482@cs.aukuni.ac.nz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!acorn!enevill
From: enevill@acorn.co.uk (Edward Nevill)
Newsgroups: comp.sys.acorn.tech
Subject: Re: Bug found in v4 of Acorn C compiler
Message-ID: <19076@acorn.co.uk>
Date: 1 Oct 92 09:39:55 GMT
References: <1992Oct1.033932.22482@cs.aukuni.ac.nz>
Sender: enevill@acorn.co.uk
Organization: Acorn Computers Ltd, Cambridge, England
Lines: 8