http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58173
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> --- Indeed, I was about to point out that the testcase really is just: static_assert( (-1) % 5 == -1, "" ); static_assert( (-1) % 5u != -1, "" );