https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103200
--- Comment #4 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:1b62cddcf091fb8cadf575246a7d3ff778650a6b commit r12-5195-g1b62cddcf091fb8cadf575246a7d3ff778650a6b Author: Jan Hubicka <j...@suse.cz> Date: Fri Nov 12 14:00:47 2021 +0100 Fix ipa-modref pure/const discovery PR ipa/103200 * ipa-modref.c (analyze_function, modref_propagate_in_scc): Do not mark pure/const function if there are side-effects.