[Bug c++/51313] [4.7 Regression][C++0x] ICE: tree check: expected class 'constant', have 'unary' (nop_expr) in null_ptr_cst_p, at cp/call.c:556
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 4 01:41:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51313
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-12-04 01:40:40 UTC ---
Author: paolo
Date: Sun Dec 4 01:40:36 2011
New Revision: 181980
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181980
Log:
/cp
2011-12-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51313
* call.c (null_ptr_cst_p): STRIP_NOPS in c++11 mode too.
/testsuite
2011-12-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51313
* g++.dg/cpp0x/pr51313.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr51313.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list