From 160ff372bdfdc91ecaf2aad59f865de95c5be2df Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 6 Aug 2004 14:21:54 +0000 Subject: [PATCH] utils.c (gnat_define_builtin): Remove second parameter of make_decl_rtl. * utils.c (gnat_define_builtin): Remove second parameter of make_decl_rtl. (begin_subprog_body): Likewise. From-SVN: r85640 --- gcc/ada/ChangeLog | 6 ++++++ gcc/ada/utils.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 88eb443d089..e2dc48f59b0 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2004-08-06 Andreas Schwab + + * utils.c (gnat_define_builtin): Remove second parameter of + make_decl_rtl. + (begin_subprog_body): Likewise. + 2004-07-26 Arnaud Charlet * sem_util.adb (Requires_Transient_Scope): Temporarily disable diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c index 262c19f9cf0..c52fcd0db21 100644 --- a/gcc/ada/utils.c +++ b/gcc/ada/utils.c @@ -425,7 +425,7 @@ gnat_define_builtin (const char *name, tree type, TREE_PUBLIC (decl) = 1; if (library_name) SET_DECL_ASSEMBLER_NAME (decl, get_identifier (library_name)); - make_decl_rtl (decl, NULL); + make_decl_rtl (decl); gnat_pushdecl (decl, Empty); DECL_BUILT_IN_CLASS (decl) = BUILT_IN_NORMAL; DECL_FUNCTION_CODE (decl) = function_code; @@ -1731,7 +1731,7 @@ begin_subprog_body (tree subprog_decl) param_decl = TREE_CHAIN (param_decl)) DECL_CONTEXT (param_decl) = subprog_decl; - make_decl_rtl (subprog_decl, NULL); + make_decl_rtl (subprog_decl); /* We handle pending sizes via the elaboration of types, so we don't need to save them. This causes them to be marked as part of the outer function -- 2.30.2