From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 7 Jan 2002 18:15:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 7 Jan 2002 18:15:26 -0500 Received: from nile.gnat.com ([205.232.38.5]:53962 "HELO nile.gnat.com") by vger.kernel.org with SMTP id ; Mon, 7 Jan 2002 18:15:16 -0500 From: dewar@gnat.com To: jtv@xs4all.nl, tim.mcdaniel@tuxia.com, tim@hollebeek.com Subject: RE: [PATCH] C undefined behavior fix Cc: Dautrevaux@microprocess.com, dewar@gnat.com, gcc@gcc.gnu.org, linux-kernel@vger.kernel.org, paulus@samba.org, trini@kernel.crashing.org, velco@fadata.bg Message-Id: <20020107231515.1D9A1F28F1@nile.gnat.com> Date: Mon, 7 Jan 2002 18:15:15 -0500 (EST) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org <> No, I think that is the wrong domain of discourse here. We are not talking about compilers being friendly, but rather correct. Most cetainly volatile in Ada would not permit this optimzation (i.e. it would not be an optimization it would be a miscompilation), and I certainly thought that in this respect C was identical to Ada in semantics of volatile.