From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11624 invoked by alias); 18 Jun 2005 00:59:59 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 11610 invoked by uid 22791); 18 Jun 2005 00:59:56 -0000 Received: from rwcrmhc13.comcast.net (HELO rwcrmhc13.comcast.net) (204.127.198.39) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 18 Jun 2005 00:59:56 +0000 Received: from [10.0.1.2] (c-24-61-199-96.hsd1.nh.comcast.net[24.61.199.96]) by comcast.net (rwcrmhc13) with SMTP id <2005061800594701500j86mfe>; Sat, 18 Jun 2005 00:59:53 +0000 User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Sat, 18 Jun 2005 00:59:00 -0000 Subject: Re: basic VRP min/max range overflow question From: Paul Schlie To: Andrew Pinski CC: Paolo Bonzini , GCC Development , Diego Novillo Message-ID: In-Reply-To: <4e348029e7e3ea799423d16b10765ffb@physics.uc.edu> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-SW-Source: 2005-06/txt/msg00716.txt.bz2 > From: Andrew Pinski > On Jun 17, 2005, at 8:20 PM, Paul Schlie wrote: > >> ["undefined" only provides liberties within the constrains of what >> is specifically specified as being undefined, but none beyond that.] > > That is not true. Undefined means it can run "rm /" if you ever invoke > the undefined code. - If the semantics of an operation are "undefined", I'd agree; but if control is returned to the program, the program's remaining specified semantics must be correspondingly obeyed, including the those which may utilize the resulting value of the "undefined" operation. - If the result value is "undefined", just the value is undefined. (Unless one advocates that any undefined result implies undefined semantics, which enables anything to occur, including the arbitrary corruption of the remaining program's otherwise well defined semantics; in which case any invocation of implementation specific behavior may then validly result in arbitrary remaining program behavior.) Which I'd hope isn't advocated.