]> gcc.gnu.org Git - gcc.git/commit
re PR c++/17821 (Poor diagnostic for using . instead of ->)
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 17 Dec 2004 15:58:04 +0000 (15:58 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 17 Dec 2004 15:58:04 +0000 (15:58 +0000)
commitb54a07e8d266a3f49d7cd7aa8e8318af506b4ab1
treed2477afa8c43ada8dcb6e331553962ee89e51e4d
parent64d200483a9bb5597dd435c0206e052cf04a3b4c
re PR c++/17821 (Poor diagnostic for using . instead of ->)

cp:
PR c++/17821
* class.c (add_method): Do not push conversion operators into a
binding level.

* cp-tree.h (CLASSTYPE_PRIMARY_TEMPLATE_TYPE): Reformat.
* error.c (dump_decl): <TYPE_DECL case> Remove extraneous braces.
testsuite:
PR c++/17821
* g++.dg/lookup/conv-5.C: New.

From-SVN: r92316
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/conv-5.C [new file with mode: 0644]
This page took 0.062132 seconds and 5 git commands to generate.