r194098 - in /trunk/gcc: cp/ChangeLog cp/cvt.c ...
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Mon Dec 3 16:01:00 GMT 2012
Author: paolo
Date: Mon Dec 3 16:01:32 2012
New Revision: 194098
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194098
Log:
/cp
2012-12-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54170
* cvt.c (cp_convert_to_pointer): Don't discard side-effects from
expressions of nullptr_t.
* typeck.c (build_ptrmemfunc): Likewise.
/testsuite
2012-12-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54170
* g++.dg/cpp0x/lambda/lambda-nullptr.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nullptr.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cvt.c
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list