/cp
commit03e3d24bbc410570a70e144bdeb5026f4cf36c6a
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Nov 2013 22:24:58 +0000 (25 22:24 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Nov 2013 22:24:58 +0000 (25 22:24 +0000)
tree953843fe30524203dce49ad0d86d59500fe7b653
parent09384a11ae412c565a41cee95ed6b158b556bb80
/cp
2013-11-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/54485
* decl.c (duplicate_decls): Enforce 8.3.6/6 about default arguments
for member functions of class templates.

/testsuite
2013-11-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/54485
* g++.dg/other/default8.C: New.
* g++.dg/tc1/dr217.C: Remove xfail.
* g++.dg/other/default5.C: Adjust.
* g++.old-deja/g++.mike/p1989.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205367 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/default5.C
gcc/testsuite/g++.dg/other/default8.C [new file with mode: 0644]
gcc/testsuite/g++.dg/tc1/dr217.C
gcc/testsuite/g++.old-deja/g++.mike/p1989.C