]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcse.c (cprop_insn): Do not try to simplify a simple jump.
authorJeff Law <law@gcc.gnu.org>
Sun, 9 May 1999 12:25:03 +0000 (06:25 -0600)
committerJeff Law <law@gcc.gnu.org>
Sun, 9 May 1999 12:25:03 +0000 (06:25 -0600)
8
        * gcse.c (cprop_insn): Do not try to simplify a simple jump.

From-SVN: r26846

gcc/gcse.c

index 5392607c5862e8c2bcfa5c04e5b831ceed773bb5..d7fde36ecd80fca4a9876ee15607114feb7c7ba8 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.  */