[Bug ipa/103766] [12 Regression] Initialization of variable passed via static chain is lost.

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Dec 19 21:40:48 GMT 2021


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 <hubicka@gcc.gnu.org>:

https://gcc.gnu.org/g:fcbf94a5be9e0c1ecad92da773a6632b86b7f70a

commit r12-6067-gfcbf94a5be9e0c1ecad92da773a6632b86b7f70a
Author: Jan Hubicka <jh@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  <hubicka@ucw.cz>

            PR ipa/103766
            * ipa-modref.c (modref_merge_call_site_flags): Fix early exit
condition


More information about the Gcc-bugs mailing list