OSDN Git Service

2009-05-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 May 2009 20:08:21 +0000 (20:08 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 May 2009 20:08:21 +0000 (20:08 +0000)
commit9c20c4fc5e6367117e36fd2bafb9165da1d09a93
tree6ee4203c725a3a87b87a38848ee077c8ed6e23a3
parent4b0c3b9358fff3b1bcbdf08c318dda43d4cf2510
2009-05-15  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR 16302
* fold-const.c (make_range,build_range_check,merge_ranges): Move
declaration to...
(merge_ranges): Returns bool.
* tree.h (make_range): .. to here.
(build_range_check): Likewise.
(merge_ranges): Likewise. Renamed from merge_ranges.
* c-typeck.c (parser_build_binary_op): Update calls to
warn_logical_operator.
* c-common.c (warn_logical_operator): Add new warning.
* c-common.h (warn_logical_operator): Update declaration.
cp/
* call.c (build_new_op): Update calls to warn_logical_operator.

testsuite/
* gcc.dg/pr16302.c: New.
* g++.dg/warn/pr16302.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147596 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/pr16302.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr16302.c [new file with mode: 0644]
gcc/tree.h