From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3B549E89.FD380A6@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <20010717154917.E7329199DC@mail.cse.psu.edu> Subject: Re: [9fans] another compiler bug (another try to send this coherently) Date: Wed, 18 Jul 2001 08:43:28 +0000 Topicbox-Message-UUID: d04542ee-eac9-11e9-9e20-41e7f4b1d025 forsyth@vitanuova.com wrote: > i thought that was one of the areas where the rules had changed with ANSI C > and assumed ken thompson had implemented the rules he knew! That would certainly account for it. Note that "rules had changed" is a bit of an overstatement; there was some uncertainty in that area, and different implementors had done it differently, so we had to decide what the rules should be. The argument that preserving valued rather than signedness of type was less apt to lead to silent surprises won out. It is true that previous AT&T (Bell Labs) compilers had done it the other way around. There is no need to reopen the argument now (personally I would have preferred a third alternative).