PATCH: Initialize tmp_obstack
Daniel Jacobowitz
drow@false.org
Tue Dec 5 20:40:00 GMT 2006
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
More information about the Gdb-patches
mailing list