From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3DD42123.B0AC73C0@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <38aa463bafe23035decff6b0364f7553@plan9.bell-labs.com> Subject: Re: [9fans] how to avoid a memset() optimization Date: Fri, 15 Nov 2002 10:50:38 +0000 Topicbox-Message-UUID: 2145f1d8-eacb-11e9-9e20-41e7f4b1d025 presotto@plan9.bell-labs.com wrote: > The idea that compiler optimization is a knob that you turn > till some assumption you made becomes incorrect is scarey to me. A major purpose of the language standard is to define the "treaty point": what a careful programmer has a right to expect from the implementation and what latitude the implementation is allowed. The problem with assumptions is that there is no standard for them.