[Bug middle-end/70992] Infinite recursion between fold_build2_stat_loc and fold_binary_loc w/ -fwrapv
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 17 14:03:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70992
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I can confirm that even Comment 4 is the same extract_muldiv_1 <->
fold_plusminus_mult_expr issue:
((2147483648 / 0) * 2) + 2
<->
2 * (2147483648 / 0 + 1)
So the question is: where should we break the tie?
More information about the Gcc-bugs
mailing list