re PR c++/45385 (missing -Wconversion for method calls)
commitd2e312d7e54bb6d2c5b6446991a90548edb62d67
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 21 Oct 2011 20:01:31 +0000 (21 20:01 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 21 Oct 2011 20:01:31 +0000 (21 20:01 +0000)
tree547f4e3cb89be08b6de5c66c5c6904eaba00733e
parent9956ad4d14736e2ab175cd4dd26b9a4315a7a975
re PR c++/45385 (missing -Wconversion for method calls)

/cp
2011-10-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/45385
* init.c (build_vec_init): Early return error_mark_node if
maxindex is -1.

/c-family
2011-10-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/45385
* c-common.c (conversion_warning): Remove code looking for
artificial operands.

/testsuite
2011-10-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/45385
* g++.dg/warn/Wconversion4.C: New.

From-SVN: r180312
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wconversion4.C [new file with mode: 0644]