https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80375
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- You really don't need -ftrapv to get ICEs with these too high precision expressions, e.g. long long foo (long long x, long long y) { if (y > 1234567891234567891234567891234567812 / x) return x; return 0; } ICEs too, again since as far as I can check. So I really don't believe the "since 5.1" part here.