https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622
--- Comment #28 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>: https://gcc.gnu.org/g:e3c06b990b2458b87f72a0c63e0de72cf69f7fc4 commit r11-9096-ge3c06b990b2458b87f72a0c63e0de72cf69f7fc4 Author: Andrew Pinski <apin...@marvell.com> Date: Sun Oct 10 01:28:59 2021 +0000 tree-optimization: [PR102622]: wrong code due to signed one bit integer and "a?-1:0" Since the problem was already fixed on this branch, we just want to add the testcase so it does not regress there. PR tree-optimization/102622 gcc/testsuite/ChangeLog: * gcc.c-torture/execute/bitfld-10.c: New test. (cherry picked from commit 882d806c1a8f9d2d2ade1133de88d63e5d4fe40c)