https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103661
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Martin Liska <mar...@gcc.gnu.org>: https://gcc.gnu.org/g:43d67e5e75627ad1f5ba2e983a730f37547ba9b7 commit r11-9394-g43d67e5e75627ad1f5ba2e983a730f37547ba9b7 Author: Martin Liska <mli...@suse.cz> Date: Mon Dec 13 15:34:30 2021 +0100 i386: Fix emissing of __builtin_cpu_supports. PR target/103661 gcc/ChangeLog: * config/i386/i386-builtins.c (fold_builtin_cpu): Compare to 0 as API expects that non-zero values are returned (do that it mask == 31). For "avx512vbmi2" argument, we return now 1 << 31, which is a negative integer value. (cherry picked from commit 127c7178d5ec502d95862fd823537cbca1a0cb99)