PR middle-end/45569
* tree-cfg.c (build_gimple_cfg): Remove redundant stmt verification.
* passes.c (execute_function_todo): Do not verify anything if
we saw errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163946
138bc75d-0d04-0410-961f-
82ee72b054a4
2010-09-07 Richard Guenther <rguenther@suse.de>
+ PR middle-end/45569
+ * tree-cfg.c (build_gimple_cfg): Remove redundant stmt verification.
+ * passes.c (execute_function_todo): Do not verify anything if
+ we saw errors.
+
+2010-09-07 Richard Guenther <rguenther@suse.de>
+
* tree-pretty-print.c (dump_generic_node): Dump void types
as void.
if (flags & TODO_rebuild_frequencies)
rebuild_frequencies ();
+ /* If we've seen errors do not bother running any verifiers. */
+ if (seen_error ())
+ return;
+
#if defined ENABLE_CHECKING
if (flags & TODO_verify_ssa
|| (current_loops && loops_state_satisfies_p (LOOP_CLOSED_SSA)))
dump_end (TDI_vcg, vcg_file);
}
}
-
-#ifdef ENABLE_CHECKING
- verify_stmts ();
-#endif
}
static unsigned int