* see.c (see_def_extension_not_merged): Copy subreg so we don't have invalid sharing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132440
138bc75d-0d04-0410-961f-
82ee72b054a4
2008-02-19 Jan Hubicka <jh@suse.cz>
+ PR rtl-optimization/34408
+ * see.c (see_def_extension_not_merged): Copy subreg so we don't have invalid sharing.
+
+2008-02-19 Jan Hubicka <jh@suse.cz>
+
PR middle-end/28779
* tree-inline.c (estimate_num_insns_1): Fix counting of cost of call_expr.
d.to = new_pseudo_reg;
note_uses (&PATTERN (ref_copy), see_replace_src, &d);
/* Step b: Replace every instance of dest_reg with the subreg. */
- ref_copy = replace_rtx (ref_copy, dest_reg, subreg);
+ ref_copy = replace_rtx (ref_copy, dest_reg, copy_rtx (subreg));
/* Step c: Replace every use of the new pseudo register back to
dest_real_reg. */