gcc/libstdc++-v3/include/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
..
array
bessel_function.tcc
beta_function.tcc
ccomplex
cctype
cfenv
cfloat
cinttypes
climits
cmath re PR c++/54537 (undiagnosed using-declaration conflicting with used function) 2013-08-01 14:24:37 -05:00
complex
complex.h
cstdarg
cstdbool
cstdint
cstdio
cstdlib
ctgmath
ctime
ctype.h
cwchar
cwctype
ell_integral.tcc
exp_integral.tcc
fenv.h
float.h
functional
functional_hash.h
gamma.tcc
hashtable_policy.h
hashtable.h
hypergeometric.tcc
inttypes.h
legendre_function.tcc
limits.h
math.h
memory
modified_bessel_func.tcc
poly_hermite.tcc
poly_laguerre.tcc
random
random.h
random.tcc
regex
riemann_zeta.tcc
shared_ptr.h
special_function_util.h
stdarg.h
stdbool.h
stdint.h
stdio.h
stdlib.h
tgmath.h
tuple
type_traits
unordered_map
unordered_map.h
unordered_set
unordered_set.h
utility
wchar.h
wctype.h