This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: PR 15227, 15877, 14211, 15076
Jason Merrill wrote:
On Thu, 10 Jun 2004 07:28:54 -0700, Mark Mitchell <mark@codesourcery.com> wrote:
*************** cp_parser_direct_declarator (cp_parser*
*** 10529,10545 ****
/* If that failed, the declarator is invalid. */
! if (type != error_mark_node)
! scope = type;
--- 10529,10547 ----
/* If that failed, the declarator is invalid. */
! if (type == error_mark_node)
! error ("`%T::%D' is not a type",
! TYPE_CONTEXT (scope),
! TYPE_IDENTIFIER (scope));
This change broke libstdc++. I'm applying the obvious fix:
Thanks!
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com