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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:4c19122bf5afa5cb479fd9445f0c591c52add09b

commit r12-5282-g4c19122bf5afa5cb479fd9445f0c591c52add09b
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Fri Nov 12 07:21:43 2021 -0800

    Check optab before transforming atomic bit test and operations

    Check optab before transforming equivalent, but slighly different cases
    of atomic bit test and operations to their canonical forms.

    gcc/

            PR middle-end/103184
            * tree-ssa-ccp.c (optimize_atomic_bit_test_and): Check optab
            before transforming equivalent, but slighly different cases to
            their canonical forms.

    gcc/testsuite/

            PR middle-end/103184
            * gcc.dg/pr103184-1.c: New test.
            * gcc.dg/pr103184-2.c: Likewise.

Reply via email to