https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128750

Zhiyang Chen <jeffchen006 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #4 from Zhiyang Chen <jeffchen006 at gmail dot com> ---
Sorry, I closed this by mistake. It is not a regression, but it is
still wrong code: on trunk r17-6489 the test prints 1 with -fwrapv at
-O0 and -O2 (4294967295 without -fwrapv). PR56250 (2013) restricted the
same NEGATE_EXPR case for unsigned division; the ABS_EXPR fallthrough
for a signed type with wrapping overflow is still open, and the
TYPE_OVERFLOW_UNDEFINED check from the description would close it.

Reply via email to