]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
passes.c (execute_function_todo): Move TODO_verify_flow under the TODO_verify_ul...
authorRichard Biener <rguenther@suse.de>
Mon, 5 May 2014 09:28:39 +0000 (09:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 5 May 2014 09:28:39 +0000 (09:28 +0000)
2014-05-05  Richard Biener  <rguenther@suse.de>

* passes.c (execute_function_todo): Move TODO_verify_flow under
the TODO_verify_ul umbrella.

From-SVN: r210068

gcc/ChangeLog
gcc/passes.c

index 18959f6eacb59dc11abaf916388d3dddccf9b908..87d71416a7853fef71377ccdcbd603e1725f9240 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-05  Richard Biener  <rguenther@suse.de>
+
+       * passes.c (execute_function_todo): Move TODO_verify_flow under
+       the TODO_verify_ul umbrella.
+
 2014-05-05  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/61010
index dbff5875a5d90070dc6ddb253b997d47292091bc..30c849fce3906304317c35c5ebbf3ebe18404d31 100644 (file)
@@ -1783,11 +1783,11 @@ execute_function_todo (function *fn, void *data)
            /* IPA passes leave stmts to be fixed up, so make sure to
               not verify SSA operands whose verifier will choke on that.  */
            verify_ssa (true, !from_ipa_pass);
-       }
-      if (flags & TODO_verify_flow)
-       verify_flow_info ();
-      if (flags & TODO_verify_il)
-       {
+         /* IPA passes leave basic-blocks unsplit, so make sure to
+            not trip on that.  */
+         if ((cfun->curr_properties & PROP_cfg)
+             && !from_ipa_pass)
+           verify_flow_info ();
          if (current_loops
              && loops_state_satisfies_p (LOOP_CLOSED_SSA))
            verify_loop_closed_ssa (false);