https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608
Martin Sebor changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608
--- Comment #5 from Mikael Pettersson ---
This test case was fixed for gcc-7 by r242536.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608
Marc Glisse changed:
What|Removed |Added
Keywords||wrong-code
--- Comment #4 from Marc Glisse
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608
--- Comment #3 from Marc Glisse ---
negate_expr_p, for MULT_EXPR, has:
/* INT_MIN/n * n doesn't overflow while negating one operand it does
if n is a power of two. */
if (INTEGRAL_TYPE_P (TREE_TYPE (t))
&& ! TYPE_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608
--- Comment #2 from Andrew Pinski ---
Hmm. Doesnt -2 * x overflow?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608
Marc Glisse changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|