[Bug tree-optimization/105739] [10 Regression] Miscompilation of Linux kernel update.c

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jun 19 10:08:53 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105739

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

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

commit r12-8493-gbf4ba940673b80961c5979078f9d37a7bef2f5ff
Author: Jan Hubicka <jh@suse.cz>
Date:   Tue Jun 14 14:05:53 2022 +0200

    Fix ipa-cp wrt volatile loads

    Check for volatile flag to ipa_load_from_parm_agg.

    gcc/ChangeLog:

    2022-06-10  Jan Hubicka  <hubicka@ucw.cz>

            PR ipa/105739
            * ipa-prop.cc (ipa_load_from_parm_agg): Punt on volatile loads.

    gcc/testsuite/ChangeLog:

    2022-06-10  Jan Hubicka  <hubicka@ucw.cz>

            * gcc.dg/ipa/pr105739.c: New test.

    (cherry picked from commit 8f6c317b3a16350698f3c9e0accb43a9b4acb4ae)


More information about the Gcc-bugs mailing list