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: [tree-profiling-branch PATCH IPCP extensions + Function cloning


On Wednesday 12 January 2005 08:31, Razya Ladelsky wrote:
> > functions.  If create_bb doesn't give you a block annotation, that is a
> > bug.  Don't paper it over, fix it.
> >
> > Gr.
> > Steven
>
> When creating the ENTRY BLOCK in copy_cfg_body(), create_bb() was not
> used.

That is a bug, then, because build_tree_cfg() does give block annotations
to the entry and exit blocks.

> In result, no block annotations were created, which caused failures.
> create_block_annotation() is defined to be static in tree-cfg.c, so I
> can't use it in tree-inline.c.

No, indeed you can't.  So, export it, do not duplicate it.

Gr.
Steven


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