http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45918
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2010.10.07 00:45:06 Ever Confirmed|0 |1 --- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2010-10-07 00:45:06 UTC --- man...@gcc11:~$ test/164733M/build/gcc/cc1plus -Wall -Wextra test.C void G<NUM>::fn() void G<NUM>::fn() [with unsigned int NUM = 1u] test.C:14:17: instantiated from here test.C:10:21: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] man...@gcc11:~$ test/164733M/build/gcc/xgcc -v Using built-in specs. COLLECT_GCC=test/164733M/build/gcc/xgcc Target: x86_64-unknown-linux-gnu Configured with: /home/manuel/test/src/configure --prefix=/home/manuel/test/./164733M/install --enable-languages=all,ada --enable-decimal-float --with-mpc=/opt/cfarm/mpc-0.8 --with-mpfr=/opt/cfarm/mpfr-2.4.1/ Thread model: posix gcc version 4.6.0 20100929 (experimental) [trunk revision 146344] (GCC)