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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| array | Loading commit data... | |
| bessel_function.tcc | Loading commit data... | |
| beta_function.tcc | Loading commit data... | |
| ccomplex | Loading commit data... | |
| cctype | Loading commit data... | |
| cfenv | Loading commit data... | |
| cfloat | Loading commit data... | |
| cinttypes | Loading commit data... | |
| climits | Loading commit data... | |
| cmath | Loading commit data... | |
| complex | Loading commit data... | |
| complex.h | Loading commit data... | |
| cstdarg | Loading commit data... | |
| cstdbool | Loading commit data... | |
| cstdint | Loading commit data... | |
| cstdio | Loading commit data... | |
| cstdlib | Loading commit data... | |
| ctgmath | Loading commit data... | |
| ctime | Loading commit data... | |
| ctype.h | Loading commit data... | |
| cwchar | Loading commit data... | |
| cwctype | Loading commit data... | |
| ell_integral.tcc | Loading commit data... | |
| exp_integral.tcc | Loading commit data... | |
| fenv.h | Loading commit data... | |
| float.h | Loading commit data... | |
| functional | Loading commit data... | |
| functional_hash.h | Loading commit data... | |
| gamma.tcc | Loading commit data... | |
| hashtable.h | Loading commit data... | |
| hashtable_policy.h | Loading commit data... | |
| hypergeometric.tcc | Loading commit data... | |
| inttypes.h | Loading commit data... | |
| legendre_function.tcc | Loading commit data... | |
| limits.h | Loading commit data... | |
| math.h | Loading commit data... | |
| memory | Loading commit data... | |
| modified_bessel_func.tcc | Loading commit data... | |
| poly_hermite.tcc | Loading commit data... | |
| poly_laguerre.tcc | Loading commit data... | |
| random | Loading commit data... | |
| random.h | Loading commit data... | |
| random.tcc | Loading commit data... | |
| regex | Loading commit data... | |
| riemann_zeta.tcc | Loading commit data... | |
| shared_ptr.h | Loading commit data... | |
| special_function_util.h | Loading commit data... | |
| stdarg.h | Loading commit data... | |
| stdbool.h | Loading commit data... | |
| stdint.h | Loading commit data... | |
| stdio.h | Loading commit data... | |
| stdlib.h | Loading commit data... | |
| tgmath.h | Loading commit data... | |
| tuple | Loading commit data... | |
| type_traits | Loading commit data... | |
| unordered_map | Loading commit data... | |
| unordered_map.h | Loading commit data... | |
| unordered_set | Loading commit data... | |
| unordered_set.h | Loading commit data... | |
| utility | Loading commit data... | |
| wchar.h | Loading commit data... | |
| wctype.h | Loading commit data... |