* expmed.c (make_tree): Don't use SET_DECL_RTL.
authorRichard Henderson <rth@gcc.gnu.org>
Fri, 2 Jul 2004 17:32:23 +0000 (10:32 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 2 Jul 2004 17:32:23 +0000 (10:32 -0700)
From-SVN: r84023

gcc/ChangeLog
gcc/expmed.c

index 9ea81ba90ae2cd7544d490f88145562b6a2faf61..3b9e1ddb859953e912815a8fb7255326f587eea8 100644 (file)
@@ -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.
 
 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>
 
 
 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>
 
 
        * 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>
 
index 1dbad8679eb47d173618d68486dcae1d3e0e34e6..ad1d88367da030bdb71217b0b31f40f65a17ce3f 100644 (file)
@@ -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;
     }