https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103766
--- Comment #9 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:fcbf94a5be9e0c1ecad92da773a6632b86b7f70a commit r12-6067-gfcbf94a5be9e0c1ecad92da773a6632b86b7f70a Author: Jan Hubicka <j...@suse.cz> Date: Sun Dec 19 22:28:40 2021 +0100 Fix early exit in modref_merge_call_site_flags When adding support for static chain and return slot flags I forgot to update early exit condition in modref_merge_call_site_flags. This yields to wrong code as demonstrated by the Fortran testcase attached to PR (which I hope someone will help me to turn into testuite one). gcc/ChangeLog: 2021-12-19 Jan Hubicka <hubi...@ucw.cz> PR ipa/103766 * ipa-modref.c (modref_merge_call_site_flags): Fix early exit condition