------- Comment #2 from paolo at gcc dot gnu dot org  2010-07-13 11:48 -------
Subject: Bug 44908

Author: paolo
Date: Tue Jul 13 11:47:58 2010
New Revision: 162138

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162138
Log:
cp/
2010-07-13  Paolo Carlini  <[email protected]>

        PR c++/44908
        * call.c (convert_like_real): Adjust convert_ptrmem call, pass
        complain argument.
        * typeck.c (get_delta_difference): Update prototype, add a
        tsubst_flags_t parameter; update get_delta_difference_1 calls and
        add checks for error_mark_node.
        (get_delta_difference_1): Update prototype, add a tsubst_flags_t
        parameter; update lookup_base call.
        (build_ptrmemfunc): Update prototype, add a tsubst_flags_t
        parameter; update get_delta_difference call and add check for
        error_mark_node.
        (convert_ptrmem): Update prototype, add a tsubst_flags_t
        parameter; update get_delta_difference call and add check for
        error_mark_node;  update build_ptrmemfunc call.
        (build_static_cast_1): Adjust convert_ptrmem call.
        (expand_ptrmemfunc_cst): Adjust get_delta_difference call.
        (cp_build_unary_op): Adjust build_ptrmemfunc call.
        * cvt.c (cp_convert_to_pointer, convert_force): Adjust convert_ptrmem
        and build_ptrmemfunc calls.
        * cp-tree.h: Update build_ptrmemfunc and convert_ptrmem prototypes.

testsuite/
2010-07-13  Paolo Carlini  <[email protected]>

        PR c++/44908
        * g++.dg/template/sfinae21.C: New.
        * g++.dg/template/sfinae22.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/template/sfinae21.C
    trunk/gcc/testsuite/g++.dg/template/sfinae22.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/cvt.c
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44908

Reply via email to