Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 9 Jan 2002 15:32:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 9 Jan 2002 15:32:25 -0500 Received: from nile.gnat.com ([205.232.38.5]:17293 "HELO nile.gnat.com") by vger.kernel.org with SMTP id ; Wed, 9 Jan 2002 15:32:13 -0500 From: dewar@gnat.com To: mrs@windriver.com, pkoning@equallogic.com Subject: Re: [PATCH] C undefined behavior fix Cc: gcc@gcc.gnu.org, linux-kernel@vger.kernel.org Message-Id: <20020109203213.56A64F2FEB@nile.gnat.com> Date: Wed, 9 Jan 2002 15:32:13 -0500 (EST) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org <> Right, and as you see that is covered by the language on external effects in the Ada standard (remember the intent in Ada was to exactly match the C rules :-) But one thing in the Ada world that we consider left open is whether a compiler is free to combine two volatile loads into a single load. Probably the answer should be no, but the language at least in the Ada standard does not seem strong enough to say this. - 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/