From: pinskia Date: Tue, 19 Aug 2003 23:11:11 +0000 (+0000) Subject: forgot the changelog also. oops X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16cdef4540f82fb1890edce9cc45abab9e6b9f5d;p=thirdparty%2Fgcc.git forgot the changelog also. oops git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70581 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b2a0ba10d1e7..7cd5b0a344f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -25,6 +25,27 @@ * unwind-sjlj.c: Likewise. * unwind.inc: Likewise. +2003-08-19 Andrew Pinski + + PR c/5582 PR c++/10538 + * langhooks-def.h (lhd_decl_uninit): Declare. + (LANG_HOOKS_DECL_UNINIT): New macro. + (LANG_HOOKS_INITIALIZER): Adjust. + * langhooks.h (struct lang_hooks): Add new field + decl_uninit. + * langhooks.c (lhd_decl_uninit): Define. + * c-common.c (c_decl_uninit_1): New function. + (c_decl_uninit): New function. + (warn_init_self): Define. + * c-common.h (c_decl_uninit): Declare. + (warn_init_self): Declare. + * c.opt: Introduce -Winit-self. + * c-opts.c (c_common_handle_options): Set warn_init_self. + * c-lang.c (LANG_HOOKS_DECL_UNINIT): Define. + * objc/objc-lang.c (LANG_HOOKS_DECL_UNINIT): Define. + * function.c (uninitialized_vars_warning): Call the language hook. + * doc/invoke.texi: Document -Winit-self. + 2003-08-19 Chris Demetriou * config/mips/mips.md: Adjust SI-mode "trap_if" instruction