Revert 2000-12-01 Nathan Sidwell <nathan@codesourcery.com>, It is incorrect.
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 11 Mar 2002 20:34:51 +0000 (20:34 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 11 Mar 2002 20:34:51 +0000 (20:34 +0000)
commit999cc24c0866f08a09bc3608fcac95a2dee681d3
treedc0fb0bf893653820d07bb3aa7aa71c77e01177d
parent61eece67a6b6c97edec67b6ecb8c1144149ff228
Revert 2000-12-01 Nathan Sidwell <nathan@codesourcery.com>, It is incorrect.

cp:
Revert 2000-12-01  Nathan Sidwell  <nathan@codesourcery.com>,
It is incorrect.
* typeck.c (build_static_cast): Compare non-qualified types
with pointer to member conversions.
testsuite:
* testsuite/g++.dg/overload/pmf1.C: New test.

From-SVN: r50591
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/pmf1.C [new file with mode: 0644]