This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/54787] Inconsistent -Wtype-limits warning for different-sized bitfields


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]