X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fcoretypes.h;h=1374a98a810752e9cb7179c669ce72fa6458b37d;hb=376a287d5002e5e9a5ed836fd2104d6f0292a09b;hp=4fc5ceacbb571717645f5a9b17494e22117faf17;hpb=2c5d2e3966908b338ac3357dba79f3a360452c66;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/coretypes.h b/gcc/coretypes.h index 4fc5ceacbb5..1374a98a810 100644 --- a/gcc/coretypes.h +++ b/gcc/coretypes.h @@ -70,6 +70,8 @@ struct cl_optimization; struct cl_option; struct cl_decoded_option; struct cl_option_handlers; +struct diagnostic_context; +typedef struct diagnostic_context diagnostic_context; struct gimple_seq_d; typedef struct gimple_seq_d *gimple_seq; typedef const struct gimple_seq_d *const_gimple_seq; @@ -109,6 +111,42 @@ enum tls_model { TLS_MODEL_LOCAL_EXEC }; +/* Types of unwind/exception handling info that can be generated. */ + +enum unwind_info_type +{ + UI_NONE, + UI_SJLJ, + UI_DWARF2, + UI_TARGET +}; + +/* Callgraph node profile representation. */ +enum node_frequency { + /* This function most likely won't be executed at all. + (set only when profile feedback is available or via function attribute). */ + NODE_FREQUENCY_UNLIKELY_EXECUTED, + /* For functions that are known to be executed once (i.e. constructors, destructors + and main function. */ + NODE_FREQUENCY_EXECUTED_ONCE, + /* The default value. */ + NODE_FREQUENCY_NORMAL, + /* Optimize this function hard + (set only when profile feedback is available or via function attribute). */ + NODE_FREQUENCY_HOT +}; + +/* Possible initialization status of a variable. When requested + by the user, this information is tracked and recorded in the DWARF + debug information, along with the variable's location. */ +enum var_init_status +{ + VAR_INIT_STATUS_UNKNOWN, + VAR_INIT_STATUS_UNINITIALIZED, + VAR_INIT_STATUS_INITIALIZED +}; + + struct edge_def; typedef struct edge_def *edge; typedef const struct edge_def *const_edge; @@ -143,5 +181,18 @@ union _dont_use_tree_here_; #endif +/* Memory model types for the __atomic* builtins. + This must match the order in libstdc++-v3/include/bits/atomic_base.h. */ +enum memmodel +{ + MEMMODEL_RELAXED = 0, + MEMMODEL_CONSUME = 1, + MEMMODEL_ACQUIRE = 2, + MEMMODEL_RELEASE = 3, + MEMMODEL_ACQ_REL = 4, + MEMMODEL_SEQ_CST = 5, + MEMMODEL_LAST = 6 +}; + #endif /* coretypes.h */