2012/11/14 Paolo Carlini <paolo.carl...@oracle.com>:
[...]
> Since we came to the conclusion that removing the overload for (double,
> double) worked, let's just do that and be done with it. Then we have a few
> months before the release to make sure that we aren't regressing, safe
> enough for this legacy TR1 stuff, IMO.

Good, here is the patch then, bootstrapped and tested
x86_64-unknown-linux-gnu without regressions on a old tree.
I plan to perform an additional testing before committing anyway.

2012-11-14  Fabien Chêne  <fab...@gcc.gnu.org>
        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.

2012-11-14  Fabien Chêne  <fab...@gcc.gnu.org>

        PR c++/54537
        * g++.dg/overload/using3.C: New.
        * g++.dg/overload/using2.C: Adjust.
        * g++.dg/lookup/using9.C: Likewise.

2012-11-14  Fabien Chêne  <fab...@gcc.gnu.org>

        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.

-- 
Fabien

Attachment: 54537.patch
Description: Binary data

Reply via email to