aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
parent5e91e92ede69d69e331a6acac2502a69e4a5abb6 (diff)
downloadgcc-8a0aa06e00c3f8ecbabf27a810951b9a07e2a495.zip
gcc-8a0aa06e00c3f8ecbabf27a810951b9a07e2a495.tar.gz
gcc-8a0aa06e00c3f8ecbabf27a810951b9a07e2a495.tar.bz2
* expmed.c (make_tree): Don't use SET_DECL_RTL.
From-SVN: r84023
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog32
-rw-r--r--gcc/expmed.c4
2 files changed, 21 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9ea81ba..3b9e1dd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-02 Richard Henderson <rth@redhat.com>
+
+ * expmed.c (make_tree): Don't use SET_DECL_RTL.
+
2004-07-02 Steven Bosscher <stevenb@suse.de>
* tree-flow.h (bb_ann_d): Remove ephi_nodes field.
@@ -17,14 +21,14 @@
2004-07-01 Richard Henderson <rth@redhat.com>
- * gimple-low.c (lower_function_body): Don't reset_block_changes here.
- * cfgexpand.c (tree_expand_cfg): Do it here.
- * config/alpha/alpha.c (alpha_output_mi_thunk_osf): And here.
- * config/ia64/ia64.c (ia64_output_mi_thunk): And here.
- * config/mips/mips.c (mips_output_mi_thunk): And here.
- * config/rs6000/rs6000.c (rs6000_output_mi_thunk): And here.
- * config/sh/sh.c (sh_output_mi_thunk): And here.
- * config/sparc/sparc.c (sparc_output_mi_thunk): And here.
+ * gimple-low.c (lower_function_body): Don't reset_block_changes here.
+ * cfgexpand.c (tree_expand_cfg): Do it here.
+ * config/alpha/alpha.c (alpha_output_mi_thunk_osf): And here.
+ * config/ia64/ia64.c (ia64_output_mi_thunk): And here.
+ * config/mips/mips.c (mips_output_mi_thunk): And here.
+ * config/rs6000/rs6000.c (rs6000_output_mi_thunk): And here.
+ * config/sh/sh.c (sh_output_mi_thunk): And here.
+ * config/sparc/sparc.c (sparc_output_mi_thunk): And here.
2004-07-01 Richard Henderson <rth@redhat.com>
@@ -98,9 +102,9 @@
2004-07-01 Richard Henderson <rth@redhat.com>
- * tree-sra.c (sra_walk_expr): Don't maybe_lookup_element_for_expr
- in order to disable scalarization. Instead set a flag and wait
- for a candidate decl.
+ * tree-sra.c (sra_walk_expr): Don't maybe_lookup_element_for_expr
+ in order to disable scalarization. Instead set a flag and wait
+ for a candidate decl.
2004-07-01 Joseph S. Myers <jsm@polyomino.org.uk>
@@ -305,10 +309,10 @@
* target.h (struct gcc_target): Add new field to struct cxx:
import_export_class.
- * target-def.h (TARGET_CXX): Initialise the new field.
- (TARGET_CXX_IMPORT_EXPORT_CLASS): Provide a default value for
+ * target-def.h (TARGET_CXX): Initialise the new field.
+ (TARGET_CXX_IMPORT_EXPORT_CLASS): Provide a default value for
the new field.
- * doc/tm.texi: Document the new target hook.
+ * doc/tm.texi: Document the new target hook.
2004-07-01 Paolo Bonzini <bonzini@gnu.org>
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 1dbad86..ad1d883 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;
}