From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24998 invoked by alias); 18 Dec 2006 10:59:06 -0000 Received: (qmail 24963 invoked by alias); 18 Dec 2006 10:58:58 -0000 Date: Mon, 18 Dec 2006 10:59:00 -0000 Message-ID: <20061218105858.24962.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/30245] -O2 generates bad code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "gdr at cs dot tamu dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-12/txt/msg01525.txt.bz2 ------- Comment #6 from gdr at cs dot tamu dot edu 2006-12-18 10:58 ------- Subject: Re: -O2 generates bad code "dcb314 at hotmail dot com" writes: | > then it can only be postive | | Plausible, but I don't think so. In that case, you might want to read the C++ standard text to appreciate the facts. [...] | I'd be interested to see what execution you get on your machine | for this code. what my machine does is irrelevant because your code is invalid. -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30245