------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-31 
01:17 -------
Subject: Bug 19457

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]       2005-01-31 01:17:19

Modified files:
        gcc/cp         : call.c cp-tree.h semantics.c typeck.c 
                         name-lookup.c ChangeLog 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/g++.dg/warn: conv3.C 

Log message:
        PR c++/19457
        * call.c (convert_like_real): Inline call to
        dubious_conversion_warnings here.
        * cp-tree.h (dubious_conversion_warnings): Remove.
        * semantics.c (finish_unary_op_expr): Copy INTEGER_CSTs before
        setting TREE_NEGATED_INT.
        * typeck.c (dubious_conversion_warnings): Remove.
        
        PR c++/19349
        * name-lookup.c (pushdecl_namespace_level): Avoid accessing free'd
        memory.
        
        PR c++/19457
        * g++.dg/warn/conv3.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.527&r2=1.528
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.1097&r2=1.1098
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.458&r2=1.459
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.609&r2=1.610
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&r1=1.106&r2=1.107
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4601&r2=1.4602
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/conv3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4959&r2=1.4960



-- 


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

Reply via email to