]> gcc.gnu.org Git - gcc.git/commit
re PR c++/35112 (ICE and broken diagnostic with ambiguous class name)
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 27 Nov 2009 10:44:49 +0000 (10:44 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 27 Nov 2009 10:44:49 +0000 (10:44 +0000)
commit85539630e3abdad70f84d87eb0a4458f44961e03
tree59ae17451dd4756e0353b1b70eebf9b16b659d14
parent58b9741ecbe673531ce7757810a1b24e1a01a96b
re PR c++/35112 (ICE and broken diagnostic with ambiguous class name)

/cp
2009-11-27  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/35112
* pt.c (print_overloaded_functions): New.
(print_candidates): Call the latter.
* parser.c (cp_parser_class_name): Do not duplicate the diagnostics
after the cp_parser_lookup_name call.

/testsuite
2009-11-27  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/35112
* g++.dg/parse/crash53.C: New.
* g++.dg/parse/error17.C: Adjust, error messages are not
duplicated anymore.
* g++.dg/template/dtor7.C: Remove xfail-ed dg-bogus directives.

From-SVN: r154698
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash53.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/error17.C
gcc/testsuite/g++.dg/template/dtor7.C
This page took 0.067455 seconds and 5 git commands to generate.