From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29192 invoked by alias); 22 Nov 2003 21:50:40 -0000 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 Received: (qmail 29183 invoked by uid 48); 22 Nov 2003 21:50:39 -0000 Date: Sat, 22 Nov 2003 21:50:00 -0000 Message-ID: <20031122215039.29182.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20010607075601.3074.fritz@intrinsity.com> References: <20010607075601.3074.fritz@intrinsity.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/3074] Statement with no effect not flagged with -Wall X-Bugzilla-Reason: CC X-SW-Source: 2003-11/txt/msg02016.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-22 21:50 ------- The problem is that fold-const is changing the line to: ((void)(a == 1 ? 5 : 0), a == 2 ? (a == 1 ? 5 : 0) | 1 : (a == 1 ? 5 : 0)) -- What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2003-05-25 15:34:22 |2003-11-22 21:50:39 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3074