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
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