]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/pt.c
call.c (standard_conversion): Tweak handling of pointer-to-member types.
authorMark Mitchell <mark@codesourcery.com>
Sun, 27 Jul 2003 18:25:57 +0000 (18:25 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 27 Jul 2003 18:25:57 +0000 (18:25 +0000)
commitb7a78333b1d28106f1c1326fb69b97452c98fc49
tree769d7a5c53b31574bf3700a5fe31ce8f81b2c2f1
parent90ea7324e82180a4235a1690b413f78d7c0ace48
call.c (standard_conversion): Tweak handling of pointer-to-member types.

* call.c (standard_conversion): Tweak handling of
pointer-to-member types.
* pt.c (tsubst): Correctly qualify pointers-to-data member types.
* typeck.c (comp_ptr_ttypes_real): Check qualifiers on
pointer-to-data member types.

* g++.dg/template/ptrmem6.C: New test.

From-SVN: r69855
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/ptrmem6.C [new file with mode: 0644]