[trunk/libgcc/config/i386/cpuinfo.c:293]: (error) Shifting 32-bit value by 32 bits is undefined behaviour [trunk/libgcc/config/i386/cpuinfo.c:295]: (error) Shifting 32-bit value by 33 bits is undefined behaviour [trunk/libgcc/config/i386/cpuinfo.c:297]: (error) Shifting 32-bit value by 34 bits is undefined behaviour [trunk/libgcc/config/i386/cpuinfo.c:299]: (error) Shifting 32-bit value by 35 bits is undefined behaviour Source code is if (ecx & bit_GFNI) features |= (1 << FEATURE_GFNI); if (ecx & bit_VPCLMULQDQ) features |= (1 << FEATURE_VPCLMULQDQ); if (ecx & bit_AVX512VNNI) features |= (1 << FEATURE_AVX512VNNI); if (ecx & bit_AVX512BITALG) features |= (1 << FEATURE_AVX512BITALG); There are more than 32 features. 1UL would be a better bitmask. Local variable "features" could do with moving from int to size_t.
Revision 258551 looks related. Maybe Julia can offer some assistance with this possible problem.
Confirmed.
Dup. *** This bug has been marked as a duplicate of bug 84945 ***