X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fcoretypes.h;h=11583fffe4434c4eeed868a41a568c4fe2689af4;hb=942b4f9d8364e4ec230c2371ecabeb2b5e70caac;hp=03eb0decc4fbc08c6d1b42d602c99a5e0edcf279;hpb=8c4c00c181e6df4f0a9afc76e4c9edbbc1c2fd41;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/coretypes.h b/gcc/coretypes.h index 03eb0decc4f..11583fffe44 100644 --- a/gcc/coretypes.h +++ b/gcc/coretypes.h @@ -1,5 +1,5 @@ /* GCC core type declarations. - Copyright (C) 2002, 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GCC. @@ -13,8 +13,13 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ /* Provide forward declarations of core types which are referred to by @@ -32,7 +37,9 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_CORETYPES_H #define GCC_CORETYPES_H +#ifndef GTY #define GTY(x) /* nothing - marker for gengtype */ +#endif #ifndef USED_FOR_TARGET @@ -47,9 +54,20 @@ typedef struct rtvec_def *rtvec; typedef const struct rtvec_def *const_rtvec; union tree_node; typedef union tree_node *tree; +union gimple_statement_d; +typedef union gimple_statement_d *gimple; typedef const union tree_node *const_tree; +typedef const union gimple_statement_d *const_gimple; union section; typedef union section section; +struct cl_target_option; +struct cl_optimization; +struct gimple_seq_d; +typedef struct gimple_seq_d *gimple_seq; +typedef const struct gimple_seq_d *const_gimple_seq; +struct gimple_seq_node_d; +typedef struct gimple_seq_node_d *gimple_seq_node; +typedef const struct gimple_seq_node_d *const_gimple_seq_node; /* The major intermediate representations of GCC. */ enum ir_type { @@ -60,21 +78,31 @@ enum ir_type { /* Provide forward struct declaration so that we don't have to include all of cpplib.h whenever a random prototype includes a pointer. - Note that the cpp_reader typedef remains part of cpplib.h. */ + Note that the cpp_reader and cpp_token typedefs remain part of + cpplib.h. */ struct cpp_reader; +struct cpp_token; /* The thread-local storage model associated with a given VAR_DECL or SYMBOL_REF. This isn't used much, but both trees and RTL refer to it, so it's here. */ enum tls_model { TLS_MODEL_NONE, - TLS_MODEL_GLOBAL_DYNAMIC, + TLS_MODEL_EMULATED, + TLS_MODEL_REAL, + TLS_MODEL_GLOBAL_DYNAMIC = TLS_MODEL_REAL, TLS_MODEL_LOCAL_DYNAMIC, TLS_MODEL_INITIAL_EXEC, TLS_MODEL_LOCAL_EXEC }; +struct edge_def; +typedef struct edge_def *edge; +typedef const struct edge_def *const_edge; +struct basic_block_def; +typedef struct basic_block_def *basic_block; +typedef const struct basic_block_def *const_basic_block; #else struct _dont_use_rtx_here_;