https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97350
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jan Hubicka <hubi...@gcc.gnu.org>: https://gcc.gnu.org/g:87d75a11a5cb93668ae0bf6d97030e01b2eae3f2 commit r11-3864-g87d75a11a5cb93668ae0bf6d97030e01b2eae3f2 Author: Jan Hubicka <j...@suse.cz> Date: Wed Oct 14 10:54:00 2020 +0200 Fix SCC discovery in ipa-modref this patch fixes SCC discovery in ipa-modref which is causing misoptimization of gnat bootstrapped with LTO, PGO and -O3. I also improved debug info and spotted wrong parameter to ignore_stores_p (which is probably quite harmless since we only inline matching functions, but it is better to be consistent). PR bootstrap/97350 * ipa-modref.c (ignore_edge): Do not ignore inlined edes. (ipa_merge_modref_summary_after_inlining): Improve debug output and fix parameter of ignore_stores_p.