This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Initialize tmp_obstack
- From: Daniel Jacobowitz <drow at false dot org>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: GDB <gdb-patches at sources dot redhat dot com>
- Date: Tue, 5 Dec 2006 15:40:03 -0500
- Subject: Re: PATCH: Initialize tmp_obstack
- References: <20061202182712.GA623@lucon.org>
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 <hongjiu.lu@intel.com>
>
> * 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