From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29440 invoked by alias); 16 Apr 2006 18:58:34 -0000 Received: (qmail 29409 invoked by uid 48); 16 Apr 2006 18:58:30 -0000 Date: Sun, 16 Apr 2006 18:58:00 -0000 Message-ID: <20060416185830.29408.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/26632] [4.1/4.2 Regression] spurious warning: value computed is not used In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mmitchel at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-04/txt/msg01248.txt.bz2 List-Id: ------- Comment #5 from mmitchel at gcc dot gnu dot org 2006-04-16 18:58 ------- I am glad that Neil agrees my oft-stated, but always-rejected, claim that only the front ends should issue warnings. :-) However, in this case, we can presumably fix the bug by setting TREE_NO_WARNING on the cast expression, which, one hopes, is generated by the front end. In any case, this is definitely a bug. -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26632