gcc/libstdc++-v3/testsuite/tr1
Fabien Chêne fb23b69e14 re PR c++/54537 (undiagnosed using-declaration conflicting with used function)
gcc/cp/
        PR c++/54537
        * cp-tree.h: Check OVL_USED with OVERLOAD_CHECK.
        * name-lookup.c (do_nonmember_using_decl): Make sure we have an
	OVERLOAD before calling OVL_USED. Call diagnose_name_conflict
	instead of issuing an error without mentioning the conflicting
	declaration.

libstdc++-v3/
        PR c++/54537
	* include/tr1/cmath: Remove pow(double,double) overload, remove a
	duplicated comment about DR 550. Add a comment to explain the
	issue.
	* testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New.

gcc/testsuite/
        PR c++/54537
        * g++.dg/overload/using3.C: New.
	* g++.dg/overload/using2.C: Adjust.
	* g++.dg/lookup/using9.C: Likewise.

Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com>

From-SVN: r201414
2013-08-01 14:24:37 -05:00
..
2_general_utilities forced.C: Extend current handling of Linux-based x86 systems to cover all GNU systems. 2013-06-10 09:21:29 +02:00
3_function_objects Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
4_metaprogramming constexpr_data.cc: Move... 2013-05-02 12:03:30 +00:00
5_numerical_facilities modified_bessel_func.tcc (__gnu_cxx::__airy_ai(), [...]): Remove. 2013-06-13 08:25:36 +00:00
6_containers Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
7_regular_expressions Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
8_c_compatibility re PR c++/54537 (undiagnosed using-declaration conflicting with used function) 2013-08-01 14:24:37 -05:00
headers Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00