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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:6ed1e2ae1a742d859c2dd74c9e7cebdd3618e8b1

commit r16-2019-g6ed1e2ae1a742d859c2dd74c9e7cebdd3618e8b1
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Jul 4 09:08:19 2025 +0200

    tree-optimization/120944 - bogus VN with volatile copies

    The following avoids translating expressions through volatile
    copies.

            PR tree-optimization/120944
            * tree-ssa-sccvn.cc (vn_reference_lookup_3): Gate optimizations
            invalid when volatile is involved.

            * gcc.dg/torture/pr120944.c: New testcase.

Reply via email to