gcc/libstdc++-v3/testsuite
Jonathan Wakely 306133e3d4 re PR libstdc++/51083 (TR1 [tr.c99.cmath.over] and C++11 [cmplx.over] overloads not constrained)
PR libstdc++/51083
	* include/ext/type_traits.h (__promote): Only define __type member
	for integral and floating point types, to prevent math functions
	participating in overload resolution for other types.
	(__promote_2, __promote_3, __promote_4): Use __promote in default
	template argument values, so deduction only succeeds for integral and
	floating point types.
	* testsuite/26_numerics/cmath/51083.cc: New.
	* testsuite/26_numerics/complex/51083.cc: New.
	* testsuite/tr1/8_c_compatibility/cmath/51083.cc: New.
	* testsuite/tr1/8_c_compatibility/complex/51083.cc: New.

From-SVN: r181321
2011-11-12 15:57:03 +00:00
..
17_intro re PR libstdc++/49745 (error: ‘int truncate’ redeclared as different kind of symbol) 2011-07-15 21:52:06 +00:00
18_support acinclude.m4: Check for <stdalign.h> 2011-11-07 08:46:58 +00:00
19_diagnostics re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
20_util shared_ptr_base.h (_Sp_counted_ptr): Make 'final'. 2011-11-08 16:45:54 +00:00
21_strings basic_string.h (basic_string::at): Move adjacent to other overload. 2011-11-07 00:06:23 +00:00
22_locale 50714.cc: Fix mychar. 2011-10-14 10:38:23 +00:00
23_containers allocator.h (__shrink_to_fit_aux::_S_do_it): Create the new object with the same allocator. 2011-11-09 21:14:03 +00:00
24_iterators assign_neg.cc: Tidy dg- directives, for C++0x testing too. 2011-10-06 14:43:26 +00:00
25_algorithms re PR libstdc++/50119 ([C++0x] copy_n advances InputIterator one more time than necessary) 2011-08-18 16:32:23 +00:00
26_numerics re PR libstdc++/51083 (TR1 [tr.c99.cmath.over] and C++11 [cmplx.over] overloads not constrained) 2011-11-12 15:57:03 +00:00
27_io re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
28_regex re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
29_atomics macros.cc: Avoid -Wall warnings. 2011-11-08 12:34:40 +00:00
30_threads shared_ptr_base.h (_Sp_counted_ptr): Make 'final'. 2011-11-08 16:45:54 +00:00
abi Update expected demangler output. 2010-11-18 05:24:00 -08:00
backward re PR libstdc++/49060 (use of deleted memory in __gnu_cxx::hashtable::erase) 2011-05-25 23:09:14 +00:00
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
ext basic_string.h (basic_string::at): Move adjacent to other overload. 2011-11-07 00:06:23 +00:00
lib acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define. 2011-11-07 13:45:03 +00:00
libstdc++-abi configure.host (abi_baseline_subdir_switch): Describe. 2011-07-08 08:49:57 +00:00
libstdc++-dg [multiple changes] 2011-10-18 02:58:06 +00:00
libstdc++-prettyprinters simple.cc: New file. 2011-08-25 14:29:47 +00:00
performance 41975.cc: Add tests to check performance with or without cache of hash code and with... 2011-11-06 17:16:00 +00:00
tr1 re PR libstdc++/51083 (TR1 [tr.c99.cmath.over] and C++11 [cmplx.over] overloads not constrained) 2011-11-12 15:57:03 +00:00
tr2 [multiple changes] 2011-10-19 22:05:26 +00:00
util Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
Makefile.am configure.host (abi_baseline_subdir_switch): Describe. 2011-07-08 08:49:57 +00:00
Makefile.in Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00