From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7834 invoked by alias); 3 Jan 2008 21:54:24 -0000 Received: (qmail 6287 invoked by uid 48); 3 Jan 2008 21:52:47 -0000 Date: Thu, 03 Jan 2008 22:23:00 -0000 Message-ID: <20080103215247.6286.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug other/34592] useless computation found In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dcb314 at hotmail dot com" 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: 2008-01/txt/msg00256.txt.bz2 ------- Comment #3 from dcb314 at hotmail dot com 2008-01-03 21:52 ------- (In reply to comment #1) > I always hated this warning from the EDG front-end, it sometimes produces a > false warning. Feel free to send a bug report to EDG. Like I said, I checked each one and I agree with Intel C 10.1 I also counted about 300 similar cases where Intel produced warning #593. I think there is quite a bit of pointless computation going on. I attach a patch again 4.3 snapshot 20071228. Hint: Perhaps if this patch gets into 4.3 it would encourage me to look at the other 300 cases ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34592