https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79127
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 40536 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40536&action=edit gcc7-pr79127.patch Untested patch that should make sure HAVE_AVX512F is not enabled if it will not work properly. Whether it is a problem with too old binutils, or even latest binutils don't support it, or a GCC bug in the SEH generation (how can the xmm16+ regs be expressed as saved there?) aside, this deals just with the libgfortran side.