From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21998 invoked by alias); 11 Mar 2005 21:02:57 -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 21957 invoked from network); 11 Mar 2005 21:02:52 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 11 Mar 2005 21:02: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 j2BL2qdu012654 for ; Fri, 11 Mar 2005 16:02: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 j2BL2kn02161; Fri, 11 Mar 2005 16:02:46 -0500 To: gdb-patches@sources.redhat.com Subject: RFA: Don't use -Wuninitialized if CFLAGS omits -O References: From: Jim Blandy Date: Fri, 11 Mar 2005 21:02:00 -0000 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/msg00184.txt.bz2 I've committed this. > This allows gdb_mbuild.sh to work with CFLAGS=-g, which improves > compilation speed and helps with debugging. > > 2005-02-28 Jim Blandy > > Avoid warnings due to the use of -Wuninitialized without -O. > * configure.ac (build_warnings): Include -Wuninitialized only if > CFLAGS is unset at configure time, or CFLAGS is set and includes > some -O option other than -O0. > * configure: Regenerated.