[Bug middle-end/80375] [5/6/7 Regression] ICE in expand_expr_real_2, at expr.c:9382 with -ftrapv

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 10 12:00:00 GMT 2017


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.


More information about the Gcc-bugs mailing list