https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77682
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- compiler error: Segmentation fault int m = 2 * (int)floor(a); ^ gcc: internal compiler error: Segmentation fault (program cc1) I am 99% sure this is actually MPFR/GMP being miscompiled or configured incorrectly. So this is not a GCC bug directly.