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.