From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15510 invoked by alias); 1 Jul 2007 08:53:00 -0000 Received: (qmail 15142 invoked by uid 48); 1 Jul 2007 08:52:46 -0000 Date: Sun, 01 Jul 2007 08:53:00 -0000 Message-ID: <20070701085246.15141.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/32570] Compiling GCC 4.3.0 with CIL instead of using GCC 4.2 or 4.3 finds many warnings that GCC does not report In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia 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: 2007-07/txt/msg00026.txt.bz2 ------- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-01 08:52 ------- >/root/downloads/gcc-4_3-trunk/gcc/toplev.c:558: Error: There is a definition already for floor_log2 This is because floor_log2 uses the GNU C "extern inline". >/gcc-4_3-trunk/gcc/config/i386/i386.c:4121: warning: unused parameter 'named' > /gcc-4_3-trunk/gcc/config/i386/i386.c:4402: warning: unused parameter 'valtype' This is a bug in the cilly because they are used, just not used if TARGET_64BIT_MS_ABI is always false which is the reason why GCC does not warn (this is not a preprocessed conditional but instead a compile time conditional). >/gcc-4_3-trunk/gcc/builtins.c:9410: warning: ISO C forbids casting nonscalar to the same type > /gcc-4_3-trunk/gcc/builtins.c:9416: warning: ISO C forbids casting nonscalar to the same type There is no cast there. So this obviously a bug in cilly. So all the warnings you pointed out are really bugs in cilly and not bugs in GCC sources. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32570