[Bug tree-optimization/103989] [12 regression] std::optional and bogus -Wmaybe-unitialized at -Og since r12-1992-g6feb628a706e86eb
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 18 14:43:20 GMT 2022
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 <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:e89b2a270d31d7298d516ae545e256645992c7b9
commit r12-6676-ge89b2a270d31d7298d516ae545e256645992c7b9
Author: Richard Biener <rguenther@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 <rguenther@suse.de>
PR ipa/103989
* passes.def (pass_all_optimizations_g): Remove pass_modref
and pass_local_pure_const.
More information about the Gcc-bugs
mailing list