From 7315211fb261db422dafd3251eed437b0b876218 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Mon, 11 Apr 2016 11:05:51 -0400 Subject: [PATCH 53/91] FIXME: for now, don't require fndecl to have a DECL_INITIAL within instantiate_decls --- gcc/function.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/function.c b/gcc/function.c index 1ac8e26..dd34144 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -1903,7 +1903,8 @@ instantiate_decls (tree fndecl) instantiate_decl_rtl (DECL_RTL (DECL_VALUE_EXPR (decl))); /* Now process all variables defined in the function or its subblocks. */ - instantiate_decls_1 (DECL_INITIAL (fndecl)); + if (DECL_INITIAL (fndecl)) + instantiate_decls_1 (DECL_INITIAL (fndecl)); FOR_EACH_LOCAL_DECL (cfun, ix, decl) if (DECL_RTL_SET_P (decl)) -- 1.8.5.3