OSDN Git Service

PR c++/51151
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Dec 2011 20:18:22 +0000 (20:18 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Dec 2011 20:18:22 +0000 (20:18 +0000)
commit995fad409c8fc706f97c6fe1f3ccf3c5a627928e
treef9d518ed6b6263ae740dc6bcbcd9adb90dfadace
parentbd142bda50bb4bdc9f870e3d6e2a6cd050cf3f80
PR c++/51151
* call.c (perform_implicit_conversion_flags): Remove earlier kludge.
* parser.c (cp_parser_omp_for_loop): Use cp_parser_omp_for_incr
in templates even if decl isn't type-dependent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182175 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Woverflow-4.C [new file with mode: 0644]