From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31135 invoked by alias); 21 Feb 2010 00:39:05 -0000 Received: (qmail 31081 invoked by uid 48); 21 Feb 2010 00:38:52 -0000 Date: Sun, 21 Feb 2010 00:39:00 -0000 Message-ID: <20100221003852.31080.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/29280] misleading warning for assignment used as truth construct In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu at gcc dot gnu dot org" 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: 2010-02/txt/msg02105.txt.bz2 ------- Comment #3 from manu at gcc dot gnu dot org 2010-02-21 00:38 ------- I agree with the reporter. The warning text suggests what it is actually not the most common solution and it fails miserably in some cases (see PR 25733). -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |diagnostic Last reconfirmed|0000-00-00 00:00:00 |2010-02-21 00:38:52 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29280