From 8a0aa06e00c3f8ecbabf27a810951b9a07e2a495 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 2 Jul 2004 10:32:23 -0700 Subject: [PATCH] * expmed.c (make_tree): Don't use SET_DECL_RTL. From-SVN: r84023 --- gcc/ChangeLog | 32 ++++++++++++++++++-------------- gcc/expmed.c | 4 +++- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ea81ba90ae..3b9e1ddb859 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-07-02 Richard Henderson + + * expmed.c (make_tree): Don't use SET_DECL_RTL. + 2004-07-02 Steven Bosscher * tree-flow.h (bb_ann_d): Remove ephi_nodes field. @@ -17,14 +21,14 @@ 2004-07-01 Richard Henderson - * 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 @@ -98,9 +102,9 @@ 2004-07-01 Richard Henderson - * 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 @@ -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 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; } -- 2.30.2