aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <rafael.espindola@gmail.com>2005-12-12 23:12:14 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2005-12-12 23:12:14 +0000
commit59ced947910469573d2c66d14cd0d7143c731730 (patch)
tree9f1e26c158496b99f5a493093554f848f41ba130 /gcc/tree-flow.h
parentd33df7e10db802a9c63eab5816b90882d3eda689 (diff)
downloadgcc-59ced947910469573d2c66d14cd0d7143c731730.zip
gcc-59ced947910469573d2c66d14cd0d7143c731730.tar.gz
gcc-59ced947910469573d2c66d14cd0d7143c731730.tar.bz2
tree-flow.h: Allow compilation with a C++ compiler.
2005-12-11 Rafael Ávila de Espíndola <rafael.espindola@gmail.com> * tree-flow.h: Allow compilation with a C++ compiler. (struct edge_prediction): Prefix all field names with "ep_". * predict.c (tree_predicted_by_p): Likewise for struct edge_prediction. (tree_predict_edge, combine_predictions_for_bb): Likewise. (remove_predictions_associated_with_edge): Likewise. From-SVN: r108430
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 4341d6f..62b8027 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -333,12 +333,12 @@ static inline tree default_def (tree);
/*---------------------------------------------------------------------------
Structure representing predictions in tree level.
---------------------------------------------------------------------------*/
-struct edge_prediction GTY((chain_next ("%h.next")))
+struct edge_prediction GTY((chain_next ("%h.ep_next")))
{
- struct edge_prediction *next;
- edge edge;
- enum br_predictor predictor;
- int probability;
+ struct edge_prediction *ep_next;
+ edge ep_edge;
+ enum br_predictor ep_predictor;
+ int ep_probability;
};
/* Accessors for basic block annotations. */