From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22773 invoked by alias); 17 Aug 2004 15:33:32 -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 22751 invoked by alias); 17 Aug 2004 15:33:31 -0000 Date: Tue, 17 Aug 2004 15:33:00 -0000 Message-ID: <20040817153331.22749.qmail@sourceware.org> From: "carlo at alinoe dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040815223820.17041.carlo@gcc.gnu.org> References: <20040815223820.17041.carlo@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17041] [3.5 regression] Erroneous "suggest parentheses around assignment used as truth value" warning in template members. X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01676.txt.bz2 List-Id: ------- Additional Comments From carlo at alinoe dot com 2004-08-17 15:33 ------- Subject: Re: [3.5 regression] Erroneous "suggest parentheses around assignment used as truth value" warning in template members. On Tue, Aug 17, 2004 at 03:25:47PM -0000, jsm at polyomino dot org dot uk wrote: > I take it then that this works (i.e. doesn't warn) in 3.3.x or earlier, > for it to be a regression? Since this warning was *completely* broken > (i.e. never warning even when it should) in 3.4.x as it hadn't been > reimplemented for the new parser. Not sure for the testcases - but yes. I compile my libraries with 3.3.3 too - and use -Wall -Werror. I never ran into this before. It is a totally new regression in the sense that code that has compiled fine for a long time suddenly stopped compiling. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17041