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 Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
bessel_function.tcc bessel_function.tcc (__cyl_bessel_ij_series): Code simplification. 2013-02-09 20:55:12 +00:00
beta_function.tcc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
ccomplex Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cctype Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cfenv Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cfloat Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cinttypes Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
climits Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cmath re PR c++/54537 (undiagnosed using-declaration conflicting with used function) 2013-08-01 14:24:37 -05:00
complex Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
complex.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cstdarg Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cstdbool Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cstdint Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cstdio Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cstdlib Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
ctgmath Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
ctime Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
ctype.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cwchar Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cwctype Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
ell_integral.tcc re PR libstdc++/56216 (TR1 bessel functions bomb at x == 0!) 2013-02-08 14:10:48 +00:00
exp_integral.tcc re PR libstdc++/56216 (TR1 bessel functions bomb at x == 0!) 2013-02-08 14:10:48 +00:00
fenv.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
float.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
functional Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
functional_hash.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
gamma.tcc re PR libstdc++/56216 (TR1 bessel functions bomb at x == 0!) 2013-02-08 14:10:48 +00:00
hashtable_policy.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
hashtable.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
hypergeometric.tcc re PR libstdc++/56216 (TR1 bessel functions bomb at x == 0!) 2013-02-08 14:10:48 +00:00
inttypes.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
legendre_function.tcc re PR libstdc++/56216 (TR1 bessel functions bomb at x == 0!) 2013-02-08 14:10:48 +00:00
limits.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
math.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
memory user.cfg.in: Set __cplusplus to 201103L. 2013-02-20 01:52:36 +00:00
modified_bessel_func.tcc modified_bessel_func.tcc (__gnu_cxx::__airy_ai(), [...]): Remove. 2013-06-13 08:25:36 +00:00
poly_hermite.tcc re PR libstdc++/56216 (TR1 bessel functions bomb at x == 0!) 2013-02-08 14:10:48 +00:00
poly_laguerre.tcc re PR libstdc++/56216 (TR1 bessel functions bomb at x == 0!) 2013-02-08 14:10:48 +00:00
random Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
random.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
random.tcc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
regex user.cfg.in: Set __cplusplus to 201103L. 2013-02-20 01:52:36 +00:00
riemann_zeta.tcc re PR libstdc++/56216 (TR1 bessel functions bomb at x == 0!) 2013-02-08 14:10:48 +00:00
shared_ptr.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
special_function_util.h re PR libstdc++/56216 (TR1 bessel functions bomb at x == 0!) 2013-02-08 14:10:48 +00:00
stdarg.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
stdbool.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
stdint.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
stdio.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
stdlib.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
tgmath.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
tuple Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
type_traits Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
unordered_map Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
unordered_map.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
unordered_set Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
unordered_set.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
utility Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
wchar.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
wctype.h Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00