r170771 - in /trunk: gcc/cp/ChangeLog gcc/cp/pt...

jason@gcc.gnu.org jason@gcc.gnu.org
Tue Mar 8 05:28:00 GMT 2011


Author: jason
Date: Tue Mar  8 05:28:13 2011
New Revision: 170771

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170771
Log:
	PR c++/48003
	* pt.c (convert_nontype_argument): Fix -fpermissive allowing
	integer overflow.
	* semantics.c (potential_constant_expression_1): Check TREE_OVERFLOW.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc

Changes in other areas also in this revision:
Added:
    trunk/gcc/testsuite/g++.dg/template/nontype20.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/init/member1.C
    trunk/gcc/testsuite/g++.dg/parse/constant4.C
    trunk/gcc/testsuite/g++.dg/template/qualified-id3.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/crash10.C



More information about the Libstdc++-cvs mailing list