aboutsummaryrefslogtreecommitdiff
path: root/gcc/lra-constraints.c
diff options
context:
space:
mode:
authorFabien ChĂȘne <fabien@gcc.gnu.org>2013-08-01 21:24:37 +0200
committerPeter Bergner <bergner@gcc.gnu.org>2013-08-01 14:24:37 -0500
commitfb23b69e140ca2448ae7360fe4a71e81e6101aac (patch)
treecd60a00f627c3f9f0d7d19e369f422b4c4290ae0 /gcc/lra-constraints.c
parent12123452e45937b341f187716a2a8343f0908465 (diff)
downloadgcc-fb23b69e140ca2448ae7360fe4a71e81e6101aac.zip
gcc-fb23b69e140ca2448ae7360fe4a71e81e6101aac.tar.gz
gcc-fb23b69e140ca2448ae7360fe4a71e81e6101aac.tar.bz2
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
Diffstat (limited to 'gcc/lra-constraints.c')
0 files changed, 0 insertions, 0 deletions