https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103268
--- Comment #6 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:074ee8d9a91d7573c1e8774a22e4e08f923adb18 commit r12-5290-g074ee8d9a91d7573c1e8774a22e4e08f923adb18 Author: H.J. Lu <hjl.to...@gmail.com> Date: Mon Nov 15 17:37:10 2021 -0800 Add a missing return when transforming atomic bit test and operations When failing to transform equivalent, but slighly different cases of atomic bit test and operations to their canonical forms, return immediately. gcc/ PR middle-end/103268 * tree-ssa-ccp.c (optimize_atomic_bit_test_and): Add a missing return. gcc/testsuite/ PR middle-end/103268 * gcc.dg/pr103268-1.c: New test. * gcc.dg/pr103268-2.c: Likewise.