https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103989
--- Comment #18 from CVS 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:e89b2a270d31d7298d516ae545e256645992c7b9 commit r12-6676-ge89b2a270d31d7298d516ae545e256645992c7b9 Author: Richard Biener <rguent...@suse.de> Date: Tue Jan 18 13:31:56 2022 +0100 ipa/103989 - tame IPA optimizations at -Og With -Og we are not prepared to do cleanup after IPA optimizations and dead code exposed by those confuses late diagnostic passes. This is a first patch removing unwanted IPA optimizations, namely both late modref and pure-const analysis. 2022-01-18 Richard Biener <rguent...@suse.de> PR ipa/103989 * passes.def (pass_all_optimizations_g): Remove pass_modref and pass_local_pure_const.