gcc/libstdc++-v3/testsuite/18_support
Manuel López-Ibáñez 17251338de re PR c++/35669 (NULL (__null) not considered different from 0 with C++)
2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	PR c++/35669
	* c.opt (Wconversion-null): New option.
	* doc/invoke.texi (Wconversion-null): Document.

cp/
	* call.c (conversion_null_warnings): Replace -Wconversion with
	-Wconversion-null.
	* cvt.c (build_expr_type_conversion): Likewise.

testsuite/
	* g++.dg/warn/Wconversion2.C: Replace -Wconversion with
	-Wconversion-null.
	* g++.dg/warn/Wconversion-null.C: New test.
	* g++.old-deja/g++.other/null1.C: Move to...
	* g++.dg/warn/Wconversion-null-2.C: ... here. Remove -Wconversion.

libstdc++-v3/	
	* testsuite/18_support/headers/cstddef/macros.cc: Add
	-Wno-conversion-null.

From-SVN: r156928
2010-02-20 21:32:06 +00:00
..
bad_alloc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bad_cast Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bad_exception Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bad_typeid Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
exception Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
exception_ptr exception_ptr.h (exception_ptr::swap(exception_ptr&&)): Remove. 2009-06-16 22:24:41 +01:00
headers re PR c++/35669 (NULL (__null) not considered different from 0 with C++) 2010-02-20 21:32:06 +00:00
initializer_list/requirements initializer_list: Format. 2009-05-27 21:17:49 +00:00
nested_exception PR c++/42983, core issue 906 2010-02-10 16:48:35 -05:00
numeric_limits limits: Implement resolution of DR 559 (CD1) in C++0x mode. 2010-02-17 12:18:54 +00:00
uncaught_exception Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
new_delete_placement.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
pthread_guard.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00