Re: [PATCH 09/14] Strip location wrappers in null_ptr_cst_p

2017-12-11 Thread Jason Merrill
On 11/10/2017 04:45 PM, David Malcolm wrote: Without this, "NULL" fails to be usable in C++11 onwards. gcc/cp/ChangeLog: * call.c (null_ptr_cst_p): Strip location wrappers when converting from '0' to a pointer type in C++11 onwards. OK. Jason

[PATCH 09/14] Strip location wrappers in null_ptr_cst_p

2017-11-10 Thread David Malcolm
Without this, "NULL" fails to be usable in C++11 onwards. gcc/cp/ChangeLog: * call.c (null_ptr_cst_p): Strip location wrappers when converting from '0' to a pointer type in C++11 onwards. --- gcc/cp/call.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/cp/call.c b/gcc/c