Commit 7ce27103 by Zack Weinberg

dwarf2.h, [...]: Add multiple-include guard.

	* dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
	Add multiple-include guard.
cp:
	* parser.c (cp_parser_save_member_function_body): Mark the
	definition static.
treelang:
	* parse.y (yyerror): Mark the definition static.

From-SVN: r75536
parent 417b11de
2004-01-07 Zack Weinberg <zack@codesourcery.com>
* dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
Add multiple-include guard.
2004-01-08 Hartmut Penner <hpenner@de.ibm.com> 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
* gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
all vector constant loadable by vsplt*. all vector constant loadable by vsplt*.
(output_vec_const_move): Likewise. (output_vec_const_move): Likewise.
2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk> 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
......
2004-01-07 Zack Weinberg <zack@codesourcery.com>
* parser.c (cp_parser_save_member_function_body): Mark the
definition static.
2004-01-05 Mark Mitchell <mark@codesourcery.com> 2004-01-05 Mark Mitchell <mark@codesourcery.com>
PR c++/13057 PR c++/13057
* class.c (build_clone): Copy type attributes from the original * class.c (build_clone): Copy type attributes from the original
function to the clone. function to the clone.
PR c++/12815 PR c++/12815
* class.c (build_vtbl_ref_1): Do not unconditionally mark vtable * class.c (build_vtbl_ref_1): Do not unconditionally mark vtable
references as constant. references as constant.
......
...@@ -14196,7 +14196,7 @@ cp_parser_functional_cast (cp_parser* parser, tree type) ...@@ -14196,7 +14196,7 @@ cp_parser_functional_cast (cp_parser* parser, tree type)
specifiers applied to the declaration. Returns the FUNCTION_DECL specifiers applied to the declaration. Returns the FUNCTION_DECL
for the member function. */ for the member function. */
tree static tree
cp_parser_save_member_function_body (cp_parser* parser, cp_parser_save_member_function_body (cp_parser* parser,
tree decl_specifiers, tree decl_specifiers,
tree declarator, tree declarator,
......
...@@ -38,6 +38,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -38,6 +38,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* This file is shared between GCC and GDB, and should not contain /* This file is shared between GCC and GDB, and should not contain
prototypes. */ prototypes. */
#ifndef GCC_DWARF2_H
#define GCC_DWARF2_H
/* Tag names and codes. */ /* Tag names and codes. */
enum dwarf_tag enum dwarf_tag
{ {
...@@ -628,3 +631,5 @@ enum dwarf_macinfo_record_type ...@@ -628,3 +631,5 @@ enum dwarf_macinfo_record_type
#define DW_EH_PE_aligned 0x50 #define DW_EH_PE_aligned 0x50
#define DW_EH_PE_indirect 0x80 #define DW_EH_PE_indirect 0x80
#endif /* dwarf2.h */
2004-01-07 Zack Weinberg <zack@codesourcery.com>
* parse.y (yyerror): Mark the definition static.
2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca> 2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca>
* lex.l: Add \t as a whitespace character. * lex.l: Add \t as a whitespace character.
......
...@@ -783,7 +783,7 @@ print_token (FILE * file, unsigned int type ATTRIBUTE_UNUSED, YYSTYPE value) ...@@ -783,7 +783,7 @@ print_token (FILE * file, unsigned int type ATTRIBUTE_UNUSED, YYSTYPE value)
} }
/* Output a message ERROR_MESSAGE from the parser. */ /* Output a message ERROR_MESSAGE from the parser. */
void static void
yyerror (const char *error_message) yyerror (const char *error_message)
{ {
struct prod_token_parm_item *tok; struct prod_token_parm_item *tok;
......
...@@ -29,6 +29,8 @@ along with GCC; see the file COPYING. If not, write to the Free ...@@ -29,6 +29,8 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */ 02111-1307, USA. */
#ifndef GCC_UNWIND_DW2_FDE_H
#define GCC_UNWIND_DW2_FDE_H
struct fde_vector struct fde_vector
{ {
...@@ -174,3 +176,5 @@ last_fde (struct object *obj __attribute__ ((__unused__)), const fde *f) ...@@ -174,3 +176,5 @@ last_fde (struct object *obj __attribute__ ((__unused__)), const fde *f)
return f->length == 0; return f->length == 0;
#endif #endif
} }
#endif /* unwind-dw2-fde.h */
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
compatibility problems with the base ABI. This is slightly better compatibility problems with the base ABI. This is slightly better
than duplicating code, however. */ than duplicating code, however. */
#ifndef GCC_UNWIND_PE_H
#define GCC_UNWIND_PE_H
/* If using C++, references to abort have to be qualified with std::. */ /* If using C++, references to abort have to be qualified with std::. */
#if __cplusplus #if __cplusplus
#define __gxx_abort std::abort #define __gxx_abort std::abort
...@@ -284,3 +287,5 @@ read_encoded_value (struct _Unwind_Context *context, unsigned char encoding, ...@@ -284,3 +287,5 @@ read_encoded_value (struct _Unwind_Context *context, unsigned char encoding,
} }
#endif #endif
#endif /* unwind-pe.h */
...@@ -28,6 +28,9 @@ ...@@ -28,6 +28,9 @@
/* This is derived from the C++ ABI for IA-64. Where we diverge /* This is derived from the C++ ABI for IA-64. Where we diverge
for cross-architecture compatibility are noted with "@@@". */ for cross-architecture compatibility are noted with "@@@". */
#ifndef _UNWIND_H
#define _UNWIND_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
...@@ -225,3 +228,5 @@ extern void * _Unwind_FindEnclosingFunction (void *pc); ...@@ -225,3 +228,5 @@ extern void * _Unwind_FindEnclosingFunction (void *pc);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* unwind.h */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment