This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build of HEAD failed for native with your patch on 2004-07-12T16:30:28Z.
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: <gcc-regression at gcc dot gnu dot org>
- Cc: <David dot Billinghurst at riotinto dot com>,<dnovillo at redhat dot com>,<giovannibajo at gcc dot gnu dot org>,<nathan at codesourcery dot com>,<roger at eyesopen dot com>,<scottg at mantatest dot com>
- Date: Mon, 12 Jul 2004 20:09:34 +0200
- Subject: Re: GCC build of HEAD failed for native with your patch on 2004-07-12T16:30:28Z.
- References: <20040712180051.8946C1037A0E5@gcc-regress.apple.com>
GCC regression checker wrote:
>> With your recent patch, GCC HEAD does not compile on:
>> native
>> Attached is build output for those targets.
>>
>> The build failures are new.
Nathan, this is yours:
http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00902.html
/Users/regress/tbox/cvs-gcc/gcc/gcc/cp/parser.c: In function
`cp_parser_class_head':
/Users/regress/tbox/cvs-gcc/gcc/gcc/cp/parser.c:12485: warning: unused variable
`token'
*************** cp_parser_class_head (cp_parser* parser,
*** 12757,12773 ****
is valid. */
if (nested_name_specifier)
pop_p = push_scope (nested_name_specifier);
! /* Now, look for the base-clause. */
! token = cp_lexer_peek_token (parser->lexer);
! if (token->type == CPP_COLON)
! {
! tree bases;
- /* Get the list of base-classes. */
- bases = cp_parser_base_clause (parser);
- /* Process them. */
- xref_basetypes (type, bases);
- }
/* Leave the scope given by the nested-name-specifier. We will
enter the class scope itself while processing the members. */
if (pop_p)
--- 12758,12773 ----
is valid. */
if (nested_name_specifier)
pop_p = push_scope (nested_name_specifier);
!
! bases = NULL_TREE;
!
! /* Get the list of base-classes, if there is one. */
! if (cp_lexer_next_token_is (parser->lexer, CPP_COLON))
! bases = cp_parser_base_clause (parser);
!
! /* Process the base classes. */
! xref_basetypes (type, bases);
/* Leave the scope given by the nested-name-specifier. We will
enter the class scope itself while processing the members. */
if (pop_p)
Giovanni Bajo