diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2015-06-10 00:37:39 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2015-06-10 00:37:39 +0000 |
commit | 0f9f9784ad1bb59e89f03e5cb00ebc22f500c059 (patch) | |
tree | 44bd2d64a442165a5d4162e8caf3157b8f5557a6 /gcc/emit-rtl.c | |
parent | a79b6a3044aa97f8ba6b491ee1796f318c68285a (diff) | |
download | gcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.zip gcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.tar.gz gcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.tar.bz2 |
Revert "[PR64164] Drop copyrename, use coalescible partition as base when optimizing."
This reverts commit c66acc7cedd89bfd22124caec44b8427c9082dac.
Conflicts:
gcc/ChangeLog
gcc/testsuite/ChangeLog
From-SVN: r224310
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index c70d3a6..7d3feb1 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -1239,9 +1239,6 @@ set_reg_attrs_for_parm (rtx parm_rtx, rtx mem) void set_reg_attrs_for_decl_rtl (tree t, rtx x) { - if (!t) - return; - tree tdecl = t; if (GET_CODE (x) == SUBREG) { gcc_assert (subreg_lowpart_p (x)); @@ -1250,7 +1247,7 @@ set_reg_attrs_for_decl_rtl (tree t, rtx x) if (REG_P (x)) REG_ATTRS (x) = get_reg_attrs (t, byte_lowpart_offset (GET_MODE (x), - DECL_MODE (tdecl))); + DECL_MODE (t))); if (GET_CODE (x) == CONCAT) { if (REG_P (XEXP (x, 0))) |