From 16b0d23f1bd79ad61f699172053507977a983593 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Tue, 19 Aug 2003 16:04:36 -0700 Subject: Missed part of my patch: * 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. From-SVN: r70580 --- gcc/langhooks.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc/langhooks.c') diff --git a/gcc/langhooks.c b/gcc/langhooks.c index b4c160f..665a06a 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -430,6 +430,14 @@ lhd_expr_size (tree exp) else return size_in_bytes (TREE_TYPE (exp)); } +/* lang_hooks.decl_uninit: Find out if a variable is uninitialized based + on DECL_INITIAL. */ + +bool +lhd_decl_uninit (tree t ATTRIBUTE_UNUSED) +{ + return false; +} /* lang_hooks.tree_size: Determine the size of a tree with code C, which is a language-specific tree code in category 'x'. The -- cgit v1.1