From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26363 invoked by alias); 28 Feb 2009 14:18:15 -0000 Received: (qmail 26354 invoked by uid 22791); 28 Feb 2009 14:18:14 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from 27.mail-out.ovh.net (HELO 27.mail-out.ovh.net) (91.121.30.210) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sat, 28 Feb 2009 14:18:08 +0000 Received: (qmail 24700 invoked by uid 503); 28 Feb 2009 14:53:39 -0000 Received: from b6.ovh.net (HELO mail428.ha.ovh.net) (213.186.33.56) by 27.mail-out.ovh.net with SMTP; 28 Feb 2009 14:53:39 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 28 Feb 2009 14:18:11 -0000 Received: from 11.156.90-79.rev.gaoland.net (HELO ?192.168.1.101?) (laurent%guerby.net@79.90.156.11) by ns0.ovh.net with SMTP; 28 Feb 2009 14:18:09 -0000 Subject: GDB 6.8 fatal warning when compiled with GCC trunk 4.4 From: Laurent GUERBY To: GDB Content-Type: text/plain Date: Sat, 28 Feb 2009 14:18:00 -0000 Message-Id: <1235830682.11347.492.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 5161406648291303108 X-Ovh-Remote: 79.90.156.11 (11.156.90-79.rev.gaoland.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00179.txt.bz2 Hi, FYI GDB 6.8 fails to build when compiled with GCC trunk (4.4 not released yet) because of a new warning: gcc -m64 -c -g -O2 -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/opt/cfarm/gdb-6.8-64/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror eval.c cc1: warnings being treated as errors eval.c: In function 'evaluate_subexp_standard': eval.c:1705: error: 'subscript_array' may be used uninitialized in this function make[2]: *** [eval.o] Error 1 make[2]: Leaving directory `/home/guerby/gdb-6.8/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/guerby/gdb-6.8' make: *** [all] Error 2 Laurent