https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111619
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Can you also try with --enable-checking=release to double check that it is not the extra compile time checks which is causing issues ...