typeck.c (build_binary_op): Do not warn about signed vs.
authorMark Mitchell <mark@codesourcery.com>
Fri, 11 Jul 2003 08:13:58 +0000 (08:13 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 11 Jul 2003 08:13:58 +0000 (08:13 +0000)
commit7d48af3049bd6b071a0369d96cdc1d7fbe8caa40
tree8c68f34ae44ade5ba50e168f32771fb7274dea13
parentac8354b1da5fff96c50a9f6a1f9a441c221f3a17
typeck.c (build_binary_op): Do not warn about signed vs.

* typeck.c (build_binary_op): Do not warn about signed
vs. unsigned comparisons in the bodies of templates.

* g++.dg/warn/Wsign-compare-1.C: New test.

From-SVN: r69222
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wsign-compare-1.C [new file with mode: 0644]