re PR c++/8534 (When compiling qt contradicting aliasing class created for bitfield...
authorMark Mitchell <mark@codesourcery.com>
Mon, 10 Mar 2003 06:22:28 +0000 (06:22 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 10 Mar 2003 06:22:28 +0000 (06:22 +0000)
commitf6d19bfe41a0e1a576d3e467ce39c4bdfa689724
treed944c772c6186cfc18e76e8c74bed6470ec10afa
parentd9b4e85e243b9d8ba4f51aa23a287621b0519d7d
re PR c++/8534 (When compiling qt contradicting aliasing class created for bitfield constructor)

PR c++/8534
* decl.c (build_ptrmemfunc_type): Do not allow default arugments
in pointer-to-member-function types.

PR c++/8534
* g++.dg/opt/ptrmem1.C: New test.

From-SVN: r64066
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/ptrmem1.C [new file with mode: 0644]