mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-01 20:21:12 +08:00
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
This commit is contained in:
parent
417b11de06
commit
7ce2710348
@ -1,7 +1,12 @@
|
||||
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>
|
||||
|
||||
* gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
|
||||
all vector constant loadable by vsplt*.
|
||||
* gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
|
||||
all vector constant loadable by vsplt*.
|
||||
(output_vec_const_move): Likewise.
|
||||
|
||||
2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
|
||||
|
@ -1,9 +1,14 @@
|
||||
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>
|
||||
|
||||
PR c++/13057
|
||||
* class.c (build_clone): Copy type attributes from the original
|
||||
function to the clone.
|
||||
|
||||
|
||||
PR c++/12815
|
||||
* class.c (build_vtbl_ref_1): Do not unconditionally mark vtable
|
||||
references as constant.
|
||||
|
@ -14196,7 +14196,7 @@ cp_parser_functional_cast (cp_parser* parser, tree type)
|
||||
specifiers applied to the declaration. Returns the FUNCTION_DECL
|
||||
for the member function. */
|
||||
|
||||
tree
|
||||
static tree
|
||||
cp_parser_save_member_function_body (cp_parser* parser,
|
||||
tree decl_specifiers,
|
||||
tree declarator,
|
||||
|
@ -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
|
||||
prototypes. */
|
||||
|
||||
#ifndef GCC_DWARF2_H
|
||||
#define GCC_DWARF2_H
|
||||
|
||||
/* Tag names and codes. */
|
||||
enum dwarf_tag
|
||||
{
|
||||
@ -628,3 +631,5 @@ enum dwarf_macinfo_record_type
|
||||
#define DW_EH_PE_aligned 0x50
|
||||
|
||||
#define DW_EH_PE_indirect 0x80
|
||||
|
||||
#endif /* dwarf2.h */
|
||||
|
@ -1,3 +1,7 @@
|
||||
2004-01-07 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* parse.y (yyerror): Mark the definition static.
|
||||
|
||||
2003-12-04 James A. Morrison <ja2morri@uwaterloo.ca>
|
||||
|
||||
* lex.l: Add \t as a whitespace character.
|
||||
|
@ -783,7 +783,7 @@ print_token (FILE * file, unsigned int type ATTRIBUTE_UNUSED, YYSTYPE value)
|
||||
}
|
||||
|
||||
/* Output a message ERROR_MESSAGE from the parser. */
|
||||
void
|
||||
static void
|
||||
yyerror (const char *error_message)
|
||||
{
|
||||
struct prod_token_parm_item *tok;
|
||||
|
@ -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
|
||||
02111-1307, USA. */
|
||||
|
||||
#ifndef GCC_UNWIND_DW2_FDE_H
|
||||
#define GCC_UNWIND_DW2_FDE_H
|
||||
|
||||
struct fde_vector
|
||||
{
|
||||
@ -174,3 +176,5 @@ last_fde (struct object *obj __attribute__ ((__unused__)), const fde *f)
|
||||
return f->length == 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* unwind-dw2-fde.h */
|
||||
|
@ -31,6 +31,9 @@
|
||||
compatibility problems with the base ABI. This is slightly better
|
||||
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 __cplusplus
|
||||
#define __gxx_abort std::abort
|
||||
@ -284,3 +287,5 @@ read_encoded_value (struct _Unwind_Context *context, unsigned char encoding,
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* unwind-pe.h */
|
||||
|
@ -28,6 +28,9 @@
|
||||
/* This is derived from the C++ ABI for IA-64. Where we diverge
|
||||
for cross-architecture compatibility are noted with "@@@". */
|
||||
|
||||
#ifndef _UNWIND_H
|
||||
#define _UNWIND_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -225,3 +228,5 @@ extern void * _Unwind_FindEnclosingFunction (void *pc);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* unwind.h */
|
||||
|
Loading…
x
Reference in New Issue
Block a user