From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5989 invoked by alias); 6 Jun 2004 22:23:12 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 5982 invoked from network); 6 Jun 2004 22:23:11 -0000 Received: from unknown (HELO yosemite.airs.com) (209.128.65.135) by sourceware.org with SMTP; 6 Jun 2004 22:23:11 -0000 Received: (qmail 8292 invoked by uid 10); 6 Jun 2004 22:23:10 -0000 Received: (qmail 18591 invoked by uid 500); 6 Jun 2004 22:23:02 -0000 From: Ian Lance Taylor To: "Adrian Bentley" Cc: Subject: Re: Weird optimization bug...? References: <1086207843.11377.10.camel@localhost> <6.0.3.0.2.20040603062352.02150e10@iplan-mn.corp.adobe.com> <1086283457.18157.13.camel@localhost> <6.0.3.0.2.20040603132957.02031898@iplan-mn.corp.adobe.com> <1086303996.13949.12.camel@localhost> <1086466898.11861.4.camel@localhost> <000501c44be5$89e90400$2d01a8c0@flabberghast> Date: Sun, 06 Jun 2004 22:23:00 -0000 In-Reply-To: <000501c44be5$89e90400$2d01a8c0@flabberghast> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-06/txt/msg00060.txt.bz2 "Adrian Bentley" writes: > Heheh, ok, so the bug I posted for gcc didn't seem to be received very well > (I was really trying to be polite and not confuse people). Any suggestions > on bug posting technique, so they will be usefully received in the future? I dunno, from my perspective I think the bug was received reasonably well. People told you that your code relied on undefined behaviour. I can see that that is not the best answer from your perspective, but to me it does not seem like an unreasonable answer. If you would like a specific warning, then present a specific case of code which is undefined, and suggest what warning it should issue. Also indicate which warning options you tried; for example, did you try -Wstrict-aliasing? Ian