This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/45385] [4.4/4.5/4.6/4.7 Regression] missing -Wconversion for method calls


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45385

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-10-21 20:01:34 UTC ---
Author: paolo
Date: Fri Oct 21 20:01:31 2011
New Revision: 180312

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180312
Log:
/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.

Added:
    trunk/gcc/testsuite/g++.dg/warn/Wconversion4.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]