From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27023 invoked by alias); 19 May 2009 20:58:51 -0000 Received: (qmail 26949 invoked by alias); 19 May 2009 20:58:39 -0000 Date: Tue, 19 May 2009 20:58:00 -0000 Message-ID: <20090519205839.26948.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/40172] [4.5 Regression] Revision 147596 breaks bootstrap In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ddaney at caviumnetworks 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: 2009-05/txt/msg01654.txt.bz2 ------- Comment #27 from ddaney at caviumnetworks dot com 2009-05-19 20:58 ------- Subject: Re: [4.5 Regression] Revision 147596 breaks bootstrap manu at gcc dot gnu dot org wrote: > ------- Comment #26 from manu at gcc dot gnu dot org 2009-05-19 20:29 ------- > The case in toplev.c cannot be fixed without tracking macro expansions somehow, > but I wonder why it warns (multiple times!) for this case: > >> ../../trunk/gcc/config/mips/sb1.md:159: error: logical �or� of collectively >> exhaustive tests is always true >> ../../trunk/gcc/config/mips/sb1.md:159: error: logical �or� of collectively >> exhaustive tests is always true >> ../../trunk/gcc/config/mips/sb1.md:159: error: logical �or� of collectively >> exhaustive tests is always true >> ../../trunk/gcc/config/mips/sb1.md:159: error: logical �or� of collectively >> exhaustive tests is always true > > David, could you produce a testcase? > It is in insn-attrtab.c, which is machine generated. I since the fatal warning is now disabled, it should be fine. The problem with insn-attrtab.c is that it is generated from the .md files and then includes all the target macros. So for this file you should probably never use -Wlogical-ops as filters that try to eliminate things in macros will fail. The whole file is conceptually one big macro. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40172