https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460
--- Comment #21 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:0ceeb9926d69dbb382622a8eae9eef7ed8ac3e97 commit r15-3191-g0ceeb9926d69dbb382622a8eae9eef7ed8ac3e97 Author: Richard Biener <rguent...@suse.de> Date: Mon Aug 26 10:01:44 2024 +0200 tree-optimization/116460 - improve forwprop compile-time The following improves forwprop block reachability which I noticed when debugging PR116460 and what is also noted in the comment. It avoids processing blocks in natural loops determined unreachable, thereby making the issue in PR116460 latent. PR tree-optimization/116460 * tree-ssa-forwprop.cc (pass_forwprop::execute): Do not process blocks in unreachable natural loops.