From: Zack Weinberg Date: Thu, 12 Feb 2004 23:35:19 +0000 (+0000) Subject: dbxout.c: Move declaration of dbxout_type_decl outside #ifdef DBX_DEBUGGING_INFO. X-Git-Tag: releases/gcc-4.0.0~10151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8507c40abc1d872a7bab16f281c0ea97fa095ac7;p=thirdparty%2Fgcc.git dbxout.c: Move declaration of dbxout_type_decl outside #ifdef DBX_DEBUGGING_INFO. * dbxout.c: Move declaration of dbxout_type_decl outside #ifdef DBX_DEBUGGING_INFO. * c-parse.in: Don't give the asmdef production a type. From-SVN: r77732 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9d75e321b452..d8c9992bdbd2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-02-12 Zack Weinberg + + * dbxout.c: Move declaration of dbxout_type_decl outside + #ifdef DBX_DEBUGGING_INFO. + * c-parse.in: Don't give the asmdef production a type. + 2004-02-12 Zack Weinberg * debug.h (struct gcc_debug_hooks): Add type_decl field. diff --git a/gcc/c-parse.in b/gcc/c-parse.in index 7a68dbf077fc..594408575088 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -202,7 +202,7 @@ do { \ %type scspec SCSPEC STATIC TYPESPEC TYPE_QUAL maybe_volatile %type initdecls notype_initdecls initdcl notype_initdcl init -%type simple_asm_expr maybeasm asmdef asm_stmt asm_argument +%type simple_asm_expr maybeasm asm_stmt asm_argument %type asm_operands nonnull_asm_operands asm_operand asm_clobbers %type maybe_attribute attributes attribute attribute_list attrib %type any_word diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 0fe6c0bd2c8a..899d2cd7cff1 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -365,6 +365,7 @@ static void dbxout_prepare_symbol (tree); static void dbxout_finish_symbol (tree); static void dbxout_block (tree, int, tree); static void dbxout_global_decl (tree); +static void dbxout_type_decl (tree, int); static void dbxout_handle_pch (unsigned); /* The debug hooks structure. */ @@ -377,7 +378,6 @@ static void dbxout_begin_function (tree); static void dbxout_begin_block (unsigned, unsigned); static void dbxout_end_block (unsigned, unsigned); static void dbxout_function_decl (tree); -static void dbxout_type_decl (tree, int); const struct gcc_debug_hooks dbx_debug_hooks = {