From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21454 invoked by alias); 15 Mar 2005 23:27:55 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21433 invoked from network); 15 Mar 2005 23:27:52 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 15 Mar 2005 23:27:52 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j2FNRqG4014021 for ; Tue, 15 Mar 2005 18:27:52 -0500 Received: from zenia.home.redhat.com (sebastian-int.corp.redhat.com [172.16.52.221]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j2FNRpY10475; Tue, 15 Mar 2005 18:27:51 -0500 To: gdb-patches@sources.redhat.com Subject: Re: RFC: sim: don't use -Wuninitialized without -O References: From: Jim Blandy Date: Tue, 15 Mar 2005 23:27:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-03/txt/msg00208.txt.bz2 Frank approved this off-list, so I've committed it. Jim Blandy writes: > I committed a similar patch for GDB a few days ago; this one is for > the simulators. I think I've avoided using '==' in this one. :) > Diffs to generated files omitted. > > sim/common/ChangeLog: > 2005-02-28 Jim Blandy > > * aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include > -Wuninitialized in the default list of build warnings if CFLAGS is > set, and doesn't include -O. (Using -Wuninitialized without > optimization produces a warning, which interferes with compilation > with -Werror.) > > sim/ChangeLog: > 2005-02-28 Jim Blandy > > * d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac, > mips/configure.ac, mn10300/configure.ac, v850/configure.ac: > Regenerated, after change to common/aclocal.m4.