summaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-02 17:32:23 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-02 17:32:23 +0000
commit9fabac44da057dc72d331309d4175d37a13669fa (patch)
treead2d7f54f0cbbac8485d7e28e56e1ffb3306b970 /gcc/expmed.c
parent7ebfe3287382ad8440ec293a7448896c2f88d39d (diff)
downloadgcc-9fabac44da057dc72d331309d4175d37a13669fa.tar.gz
* expmed.c (make_tree): Don't use SET_DECL_RTL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84023 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 1dbad8679eb..ad1d88367da 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -4432,7 +4432,9 @@ make_tree (tree type, rtx x)
if (POINTER_TYPE_P (type))
x = convert_memory_address (TYPE_MODE (type), x);
- SET_DECL_RTL (t, x);
+ /* Note that we do *not* use SET_DECL_RTL here, because we do not
+ want set_decl_rtl to go adjusting REG_ATTRS for this temporary. */
+ t->decl.rtl = x;
return t;
}