aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2014-10-20 15:30:50 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2014-10-20 15:30:50 +0000
commit59f2e9d83d69ae2a714b02861809fc3bec9c9e2f (patch)
tree9e3afc6bbe5e7e9108701cba48e7a774ae350ad9 /gcc/predict.c
parent948cf550b44fc0cca1c2eb6688d37ca93e99cb68 (diff)
downloadgcc-59f2e9d83d69ae2a714b02861809fc3bec9c9e2f.zip
gcc-59f2e9d83d69ae2a714b02861809fc3bec9c9e2f.tar.gz
gcc-59f2e9d83d69ae2a714b02861809fc3bec9c9e2f.tar.bz2
cfgrtl.h: New.
2014-10-20 Andrew MacLeod <amacleod@redhat.com> * cfgrtl.h: New. Add prototypes for cfgrtl.c. * basic-block.h: Remove prototypes for cfgrtl.c. * cfghooks.h (cfg_layout_initialize, cfg_layout_finalize): Move prototypes to cfgrtl.h. * profile.h (profile_info): Add extern export declaration. * rtl.h: Remove prototypes for cfgrtl.h. * tree-cfg.h (gt_ggc_mx, gt_pch_nx): Move prototypes to here. * ipa-inline.c: Include profile.h. * loop-unroll.c: Ditto. * modulo-sched.c: Ditto. * postreload-gcse.c: Ditto. * predict.c: Ditto. * sched-ebb.c: Ditto. * sched-rgn.c: Ditto. * tracer.c: Ditto. * tree-ssa-loop-ivcanon.c: Ditto. From-SVN: r216485
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/predict.c b/gcc/predict.c
index 29e3c79..5f5d4a5 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -46,6 +46,7 @@ along with GCC; see the file COPYING3. If not see
#include "machmode.h"
#include "input.h"
#include "function.h"
+#include "profile.h"
#include "except.h"
#include "diagnostic-core.h"
#include "recog.h"
@@ -2527,6 +2528,7 @@ struct edge_prob_info
};
#define BLOCK_INFO(B) ((block_info *) (B)->aux)
+#undef EDGE_INFO
#define EDGE_INFO(E) ((edge_prob_info *) (E)->aux)
/* Helper function for estimate_bb_frequencies.