aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/misc.c
diff options
context:
space:
mode:
authorJosef Zlomek <zlomekj@suse.cz>2004-02-10 19:38:19 +0100
committerJosef Zlomek <zlomek@gcc.gnu.org>2004-02-10 18:38:19 +0000
commitfbe6ec8150896cfa14b8500c932d9b890c18c297 (patch)
tree8c381fb07eefd127e201f05bbc881c960cd8ca97 /gcc/ada/misc.c
parent8a4baa83a1ed5cc8fb7089263c768398a4b92f64 (diff)
downloadgcc-fbe6ec8150896cfa14b8500c932d9b890c18c297.zip
gcc-fbe6ec8150896cfa14b8500c932d9b890c18c297.tar.gz
gcc-fbe6ec8150896cfa14b8500c932d9b890c18c297.tar.bz2
emit-rtl.c (set_decl_incoming_rtl): New.
PR/14058 * emit-rtl.c (set_decl_incoming_rtl): New. * tree.h (set_decl_incoming_rtl): New. * function.c (assign_parms): Use set_decl_incoming_rtl for setting DECL_INCOMING_RTL. * ada/misc.c (adjust_decl_rtl): Likewise. From-SVN: r77611
Diffstat (limited to 'gcc/ada/misc.c')
-rw-r--r--gcc/ada/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c
index 7e544fb..6a40590 100644
--- a/gcc/ada/misc.c
+++ b/gcc/ada/misc.c
@@ -774,7 +774,7 @@ adjust_decl_rtl (tree decl)
DECL_SIZE (decl) = TYPE_SIZE (new_type);
if (TREE_CODE (decl) == PARM_DECL)
- DECL_INCOMING_RTL (decl) = XEXP (DECL_INCOMING_RTL (decl), 0);
+ set_decl_incoming_rtl (decl, XEXP (DECL_INCOMING_RTL (decl), 0));
/* If DECL_INITIAL was set, it should be updated to show that
the decl is initialized to the address of that thing.