toplev.c (rest_of_compilation): Disable early if-conversion pass.
authorRoger Sayle <roger@eyesopen.com>
Mon, 10 Jun 2002 22:26:45 +0000 (22:26 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 10 Jun 2002 22:26:45 +0000 (22:26 +0000)
* toplev.c (rest_of_compilation): Disable early if-conversion pass.
* gcse.c (bypass_conditional_jumps): Fix typo in setcc test.

From-SVN: r54475

gcc/ChangeLog
gcc/gcse.c
gcc/toplev.c

index 1bfeb34b021f112bdb504075cddc6ca53cf62e5d..5b4b671ef097f04ee97f192824fc9a6b7c9ccc83 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-10  Roger Sayle  <roger@eyesopen.com>
+
+       * toplev.c (rest_of_compilation): Disable early if-conversion pass.
+       * gcse.c (bypass_conditional_jumps): Fix typo in setcc test.
+
 2002-06-10  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * config/mmix/mmix.h: Improve comments.
index 531a0fc0a3753bddb4d4bc48133f0310d2224a6e..129ab4a1c0a8bef1c0ec390e24399e6ec51717e9 100644 (file)
@@ -4541,7 +4541,7 @@ bypass_conditional_jumps ()
               insn = NEXT_INSN (insn))
            if (GET_CODE (insn) == INSN)
              {
-               if (!setcc)
+               if (setcc)
                  break;
                if (GET_CODE (PATTERN (insn)) != SET)
                  break;
index 7ac28c0fddd21af649acfbe8be42c5f2bd738573..47011f4f4ae456ec203bb0bf3519cb188d6d492a 100644 (file)
@@ -2723,7 +2723,7 @@ rest_of_compilation (decl)
 
   timevar_push (TV_JUMP);
 
-  if (flag_delete_null_pointer_checks || flag_if_conversion)
+  if (flag_delete_null_pointer_checks)
     {
       open_dump_file (DFI_null, decl);
       find_basic_blocks (insns, max_reg_num (), rtl_dump_file);
@@ -2735,10 +2735,6 @@ rest_of_compilation (decl)
       if (flag_delete_null_pointer_checks)
        delete_null_pointer_checks (insns);
 
-      timevar_push (TV_IFCVT);
-      if (flag_if_conversion)
-       if_convert (0);
-      timevar_pop (TV_IFCVT);
       cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_PRE_LOOP);
       close_dump_file (DFI_null, print_rtl_with_bb, insns);
     }