diff options
author | Ian Lance Taylor <iant@google.com> | 2009-05-16 06:54:11 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-05-16 06:54:11 +0000 |
commit | 7e5487a214d591ab394310fa2f8840c42b745ee7 (patch) | |
tree | 76d192436d10f2e90d4474a52e7b7f2156c2a5e7 /gcc/optabs.h | |
parent | 7d47ae1d6491907d3f6c5c870bb83dceac1551c4 (diff) | |
download | gcc-7e5487a214d591ab394310fa2f8840c42b745ee7.tar.gz |
alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry.
gcc/ChangeLog:
* alias.c (struct alias_set_entry_d): Rename from struct
alias_set_entry. Change all uses.
* except.c (struct call_site_record_d): Rename from struct
call_site_record. Change all uses.
* except.h (struct eh_region_d): Rename from struct eh_region.
Change all uses.
* gcse.c (struct hash_table_d): Rename from struct hash_table.
Change all uses.
* graphite.c (struct ivtype_map_elt_d): Rename fromstruct
ivtype_map_elt. Change all uses.
(struct rename_map_elt_d): Rename fromstruct rename_map_elt.
Change all uses.
(struct ifsese_d): Rename fromstruct ifsese. Change all uses.
* graphite.h (struct name_tree_d): Rename from struct name_tree.
Change all uses.
(struct sese_d): Rename from struct sese. Change all uses.
* omega.h (struct eqn_d): Rename from struct eqn. Change all
uses.
(struct omega_pb_d): Rename from struct omega_pb. Change all
uses.
* optabs.h (struct optab_d): Rename from struct optab. Change all
uses.
(struct convert_optab_d): Rename from struct convert_optab.
Change all uses.
* tree-pass.h (struct ipa_opt_pass_d): Rename fromstruct
ipa_opt_pass. Change all uses.
* tree-predcom.c (struct dref_d): Rename from struct dref. Change
all uses.
* c-decl.c (pushtag): If -Wc++-compat, warn if the tag is already
defined as a typedef.
(grokdeclarator): If -Wc++-compat, warn if a typedef is already
defined as a tag.
gcc/cp/ChangeLog:
* cp-tree.h (enum cp_lvalue_kind_flags): Rename from
cp_lvalue_kind. Change all uses.
(enum base_access_flags): Rename from enum base_access. Change
all uses.
* parser.c (enum cp_parser_flags): Remove enum tag.
gcc/testsuite/ChangeLog:
* gcc.dg/Wcxx-compat-10.c: New testcase.
libcpp/ChangeLog:
* include/cpplib.h (enum cpp_builtin_type): Rename from enum
builtin_type. Change all uses.
From-SVN: r147605
Diffstat (limited to 'gcc/optabs.h')
-rw-r--r-- | gcc/optabs.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/optabs.h b/gcc/optabs.h index f4ddfa1480b..096feda7df2 100644 --- a/gcc/optabs.h +++ b/gcc/optabs.h @@ -1,5 +1,5 @@ /* Definitions for code generation pass of GNU compiler. - Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GCC. @@ -43,29 +43,30 @@ struct optab_handlers enum insn_code insn_code; }; -struct optab +struct optab_d { enum rtx_code code; const char *libcall_basename; char libcall_suffix; - void (*libcall_gen)(struct optab *, const char *name, char suffix, enum machine_mode); + void (*libcall_gen)(struct optab_d *, const char *name, char suffix, + enum machine_mode); struct optab_handlers handlers[NUM_MACHINE_MODES]; }; -typedef struct optab * optab; +typedef struct optab_d * optab; /* A convert_optab is for some sort of conversion operation between modes. The first array index is the destination mode, the second is the source mode. */ -struct convert_optab +struct convert_optab_d { enum rtx_code code; const char *libcall_basename; - void (*libcall_gen)(struct convert_optab *, const char *name, + void (*libcall_gen)(struct convert_optab_d *, const char *name, enum machine_mode, enum machine_mode); struct optab_handlers handlers[NUM_MACHINE_MODES][NUM_MACHINE_MODES]; }; -typedef struct convert_optab *convert_optab; +typedef struct convert_optab_d *convert_optab; /* Given an enum insn_code, access the function to construct the body of that kind of insn. */ @@ -369,7 +370,7 @@ enum optab_index OTI_MAX }; -extern struct optab optab_table[OTI_MAX]; +extern struct optab_d optab_table[OTI_MAX]; #define ssadd_optab (&optab_table[OTI_ssadd]) #define usadd_optab (&optab_table[OTI_usadd]) @@ -571,7 +572,7 @@ enum convert_optab_index COI_MAX }; -extern struct convert_optab convert_optab_table[COI_MAX]; +extern struct convert_optab_d convert_optab_table[COI_MAX]; #define sext_optab (&convert_optab_table[COI_sext]) #define zext_optab (&convert_optab_table[COI_zext]) |