From: Mark Mitchell Date: Thu, 10 Feb 2005 04:40:32 +0000 (+0000) Subject: * parser.c (cp_parser_unqualified_id): Initialize type_decl. X-Git-Tag: releases/gcc-3.4.4~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ec34349673895c7156eed5ac5278d2ec2030d5e;p=thirdparty%2Fgcc.git * parser.c (cp_parser_unqualified_id): Initialize type_decl. From-SVN: r94796 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4aeb82568d9b..88c7a3623dd4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 2005-02-09 Mark Mitchell + * parser.c (cp_parser_unqualified_id): Initialize type_decl. + PR c++/19787 * call.c (initialize_reference): Robustify. diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index fbd156a05734..8b1075f52ffa 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -2909,6 +2909,7 @@ cp_parser_unqualified_id (cp_parser* parser, /* If there was an explicit qualification (S::~T), first look in the scope given by the qualification (i.e., S). */ done = false; + type_decl = NULL_TREE; if (scope) { cp_parser_parse_tentatively (parser);