r201414 - in /trunk: gcc/cp/ChangeLog gcc/cp/cp...
bergner@gcc.gnu.org
bergner@gcc.gnu.org
Thu Aug 1 19:24:00 GMT 2013
Author: bergner
Date: Thu Aug 1 19:24:37 2013
New Revision: 201414
URL: http://gcc.gnu.org/viewcvs?rev=201414&root=gcc&view=rev
Log:
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.
Added:
trunk/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1/cmath
Changes in other areas also in this revision:
Added:
trunk/gcc/testsuite/g++.dg/overload/using3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/lookup/using9.C
trunk/gcc/testsuite/g++.dg/overload/using2.C
More information about the Libstdc++-cvs
mailing list