OSDN Git Service

8
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 May 1999 12:25:03 +0000 (12:25 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 May 1999 12:25:03 +0000 (12:25 +0000)
        * gcse.c (cprop_insn): Do not try to simplify a simple jump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26846 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/gcse.c

index 5392607..d7fde36 100644 (file)
@@ -3749,7 +3749,9 @@ cprop_insn (insn, alter_jumps)
 
             Note this does not currently handle machines which use cc0.  */
          else if (alter_jumps
-                  && GET_CODE (insn) == JUMP_INSN && condjump_p (insn))
+                  && GET_CODE (insn) == JUMP_INSN
+                  && condjump_p (insn)
+                  && ! simplejump_p (insn))
            {
              /* We want a copy of the JUMP_INSN so we can modify it
                 in-place as needed without effecting the original.  */