From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29573 invoked by alias); 5 Dec 2006 20:40:12 -0000 Received: (qmail 29559 invoked by uid 22791); 5 Dec 2006 20:40:11 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 05 Dec 2006 20:40:07 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1Grh59-0006z0-42; Tue, 05 Dec 2006 15:40:03 -0500 Date: Tue, 05 Dec 2006 20:40:00 -0000 From: Daniel Jacobowitz To: "H. J. Lu" Cc: GDB Subject: Re: PATCH: Initialize tmp_obstack Message-ID: <20061205204003.GB25572@nevyn.them.org> Mail-Followup-To: "H. J. Lu" , GDB References: <20061202182712.GA623@lucon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061202182712.GA623@lucon.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00033.txt.bz2 On Sat, Dec 02, 2006 at 10:27:12AM -0800, H. J. Lu wrote: > Gcc 4.1 warns Mine doesn't, but I never did figure out why some compilers do and others don't. > 2006-12-02 H.J. Lu > > * cp-valprint.c (cp_print_value_fields): Initialize tmp_obstack. > (cp_print_value): Likewise > * p-valprint.c (pascal_object_print_value_fields): Likewise > (pascal_object_print_value): Likewise OK to commit - let's use this version. Thanks. I think it's fine for the 4.2 branch too. -- Daniel Jacobowitz CodeSourcery