This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58173] [C++11] Bad interaction between sizeof... and remainder (%) operators
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Aug 2013 09:49:06 +0000
- Subject: [Bug c++/58173] [C++11] Bad interaction between sizeof... and remainder (%) operators
- Auto-submitted: auto-generated
- References: <bug-58173-4 at http dot gcc dot gnu dot org/bugzilla/>
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, "" );