This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Create cfgrtl.h


On Fri, Oct 17, 2014 at 6:44 PM, Andrew MacLeod <amacleod@redhat.com> wrote:
> Rather than trying to flatten basic-block.h and do all the work associated
> in one big patch,  I'll try to do it in smaller steps :-)
>
> This patch creates cfgrtl.h to maintain the prototypes for functions
> exported from cfgrtl.c.  For the moment, basic-block.h  includes cfgrtl.h,
> keeping everything compiling.
>
> When basic-block.h gets flattened, I'll reduce inclusion of cfgrtl.h to only
> files which actually need it.
>
> I also took a couple of trivial things out of basic-block.h that didn't
> belong there:
>  - extern const struct gcov_ctr_summary *profile_info;  belonged in
> profile.h since it is exported from profile.c.. This required a few .c files
> to include profile.h now.
>  - the prototypes for gt_ggc_mx (edge_def *e) and gt_pch_nx (edge_def *e)
> were moved to tree-cfg.h since they are delcared in tree-cfg.c.
>
> Bootstraps on x86_64-unknown-linux-gnu, and running test regressions, but
> compilation is likely to be enough to confirm its correct.
>
> Assuming all is fine, OK for trunk?

Ok.

Thanks,
Richard.

> Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]