re PR c++/36944 (Revision 138123 breaks constructors with default arguments)
authorH.J. Lu <hongjiu.lu@intel.com>
Sun, 27 Jul 2008 17:40:04 +0000 (17:40 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sun, 27 Jul 2008 17:40:04 +0000 (10:40 -0700)
commitff60c6685c150b8371d35fb471aebf628e2c1b94
treebf63c1aa1a17ac9a534c474ad3030bed8db34f11
parent330e765e13717fc4a294302419355a393f000428
re PR c++/36944 (Revision 138123 breaks constructors with default arguments)

gcc/cp/

2008-07-27  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/36944
* class.c (type_has_user_provided_default_constructor): Handle
default parameters.

gcc/testsuite/

2008-07-27  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/36944
* g++.dg/other/pr36944.C: New.

From-SVN: r138194
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr36944.C [new file with mode: 0644]