This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR 14516, hopefully
- From: Andreas Schwab <schwab at suse dot de>
- To: gkeating at geoffk5 dot apple dot com (Geoffrey Keating)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 06 Aug 2004 16:22:11 +0200
- Subject: Re: Fix PR 14516, hopefully
- References: <20040805054917.84A59967F80@geoffk5.apple.com>
gkeating@geoffk5.apple.com (Geoffrey Keating) writes:
> (make_decl_rtl): Remove second parameter. Update callers in many
> files.
There are two occurences in ada/utils.c. Committed as obvious.
Andreas.
2004-08-06 Andreas Schwab <schwab@suse.de>
* utils.c (gnat_define_builtin): Remove second parameter of
make_decl_rtl.
(begin_subprog_body): Likewise.
--- gcc/ada/utils.c 05 Aug 2004 10:26:19 +0200 1.72
+++ gcc/ada/utils.c 06 Aug 2004 15:44:15 +0200
@@ -425,7 +425,7 @@ gnat_define_builtin (const char *name, t
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
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."