summaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2004-07-02 10:32:23 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-07-02 10:32:23 -0700
commit8a0aa06e00c3f8ecbabf27a810951b9a07e2a495 (patch)
treead2d7f54f0cbbac8485d7e28e56e1ffb3306b970 /gcc/expmed.c
parent5e91e92ede69d69e331a6acac2502a69e4a5abb6 (diff)
downloadgcc-8a0aa06e00c3f8ecbabf27a810951b9a07e2a495.tar.gz
* expmed.c (make_tree): Don't use SET_DECL_RTL.
From-SVN: r84023
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;
}