]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/39076 (internal compiler error when cross-compiling flac)
authorRamana Radhakrishnan <ramana.r@gmail.com>
Wed, 4 Feb 2009 21:42:04 +0000 (21:42 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Wed, 4 Feb 2009 21:42:04 +0000 (21:42 +0000)
Fix for PR39076

From-SVN: r143942

gcc/ChangeLog
gcc/regrename.c

index 40903668c20e19bfedbf9bf1710ad8f2b43e09bf..94a8bd2a5edc9d659c5732d869108709100db512 100644 (file)
@@ -1,3 +1,11 @@
+2009-02-04  Ramana Radhakrishnan  <ramana.r@gmail.com>
+
+       PR rtl-optimization/39076
+       Backport from mainline:
+       2008-06-28  Andrew Jenner  <andrew@codesourcery.com>
+       
+       * regrename.c (build_def_use): Don't copy RTX.
+
 2009-02-04  Joseph Myers  <joseph@codesourcery.com>
 
        PR c/35433
index 2dd3433a5d26878e60948aed3c0b80a9e835f105..0d21ae2e8b832ced2f8b153e424c309d9faed1c7 100644 (file)
@@ -820,7 +820,7 @@ build_def_use (basic_block bb)
                    OP_IN, 0);
 
          for (i = 0; i < recog_data.n_dups; i++)
-           *recog_data.dup_loc[i] = copy_rtx (old_dups[i]);
+           *recog_data.dup_loc[i] = old_dups[i];
          for (i = 0; i < n_ops; i++)
            *recog_data.operand_loc[i] = old_operands[i];
          if (recog_data.n_dups)