PR c++ 9483
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 10 Jul 2003 09:02:06 +0000 (09:02 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 10 Jul 2003 09:02:06 +0000 (09:02 +0000)
commit633221dbab4b06bae16c5cd3b6da0c91608fb5ff
tree76650e1120092ea70d8d68f3ac66639be6583a19
parent31c56a8ba7c10ccacfa1f3566d8eb16dddadbfd2
PR c++ 9483

cp:
PR c++ 9483
* class.c (check_field_decls): Pass DECL_NAME to constructor_name_p.
* decl2.c (constructor_name_p): Avoid repeated constructor_name
calls.
* decl.c (grokdeclarator): Refactor ctor/dtor detection.
testsuite:
PR c++ 9483
* g++.dg/other/field1.C: New test.

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