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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/