MinGW crashes when compiling libtiff with -mavx512f -mpreferred-stack-boundary=2
MinGW crashes when compiling the following code with i686-w64-mingw32-gcc -mavx512f -mpreferred-stack-boundary=2
:
#include <stdint.h>
float _TIFFUInt64ToFloat(void)
{
union
{
int32_t low;
int64_t value;
} i;
return (float)i.value;
}
There are a lot of users who want to build Wine with those flags (see GCC Bug 111107 and Wine Bug 55007). The bug has been fixed in MinGW 12.3 and later, so just updating the Arch package by one minor release would be enough.