https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98909
--- Comment #1 from Gabriel Ravier <gabravier at gmail dot com> --- PS: The same pattern with `unsigned` replacing `int` can be optimized to `return x & 1;` (done by LLVM, but not by GCC).
gabravier at gmail dot com via Gcc-bugs Mon, 01 Feb 2021 00:54:10 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98909
--- Comment #1 from Gabriel Ravier <gabravier at gmail dot com> --- PS: The same pattern with `unsigned` replacing `int` can be optimized to `return x & 1;` (done by LLVM, but not by GCC).