https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108696
--- Comment #2 from Andrew Macleod <amacleod at redhat dot com> --- Created attachment 54437 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54437&action=edit possible patch This patch should successfully short circuit unnecessary checks. untested in compiler.i Where did you get a 17% time in DOM? when I run compiler.i I get dominator optimization : 38.28 ( 2%) where most of the time is in machine dep reorg :1447.64 ( 60%) I'll check this patch for correctness and to see if it generally makes any time improvements that are measurable elsewhere.