This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/54787] Inconsistent -Wtype-limits warning for different-sized bitfields
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Jul 2017 17:42:48 +0000
- Subject: [Bug c/54787] Inconsistent -Wtype-limits warning for different-sized bitfields
- Auto-submitted: auto-generated
- References: <bug-54787-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54787
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |egallager at gcc dot gnu.org
Known to work| |8.0
Resolution|--- |FIXED
Known to fail| |4.4.3, 4.6.3, 4.7.2
--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
I can't reproduce this bug; none of these produce any warnings for me:
$ /usr/local/bin/gcc -c -Wtype-limits 28336.c
$ /usr/local/bin/gcc -c -Wall -Wextra -Wtype-limits 28336.c
$ /usr/local/bin/gcc -c -m32 -Wall -Wextra -Wtype-limits 28336.c
$ /usr/local/bin/gcc -c -m64 -Wall -Wextra -Wtype-limits 28336.c
$
Assuming it was fixed at some point.