rtl.c (copy_rtx): Do not handle frame_related, jump or call flags specially.
authorBernd Schmidt <bernds@codesourcery.com>
Mon, 12 Sep 2011 23:38:21 +0000 (23:38 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 12 Sep 2011 23:38:21 +0000 (23:38 +0000)
* rtl.c (copy_rtx): Do not handle frame_related, jump or call
flags specially.

From-SVN: r178798

gcc/ChangeLog
gcc/rtl.c

index 8253d64486c7cab3dbe0383c5665de9222d07e1e..2a8c05bb363108cdcefc185f3bb0f2869ac958ad 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-13  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * rtl.c (copy_rtx): Do not handle frame_related, jump or call
+       flags specially.
+
 2011-09-12  Jakub Jelinek  <jakub@redhat.com>
 
        PR bootstrap/50010
index 0e11eeffa090ae1a1bc8b4715aa9abb87342b767..a812d3118204dfbe7789c8b8101eeaa49c69b258 100644 (file)
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -289,12 +289,6 @@ copy_rtx (rtx orig)
      walks over the RTL.  */
   RTX_FLAG (copy, used) = 0;
 
-  /* We do not copy FRAME_RELATED for INSNs.  */
-  if (INSN_P (orig))
-    RTX_FLAG (copy, frame_related) = 0;
-  RTX_FLAG (copy, jump) = RTX_FLAG (orig, jump);
-  RTX_FLAG (copy, call) = RTX_FLAG (orig, call);
-
   format_ptr = GET_RTX_FORMAT (GET_CODE (copy));
 
   for (i = 0; i < GET_RTX_LENGTH (GET_CODE (copy)); i++)