This is the mail archive of the
mailing list for the GCC project.
Re: [tree-profiling-branch PATCH IPCP extensions + Function cloning
- From: Steven Bosscher <stevenb at suse dot de>
- To: Razya Ladelsky <RAZYA at il dot ibm dot com>
- Cc: Ayal Zaks <ZAKS at il dot ibm dot com>, gcc-patches at gcc dot gnu dot org, hubicka at ucw dot cz, Jan Hubicka <jh at suse dot cz>, Mircea Namolaru <NAMOLARU at il dot ibm dot com>
- Date: Wed, 12 Jan 2005 10:14:47 +0100
- Subject: Re: [tree-profiling-branch PATCH IPCP extensions + Function cloning
- Organization: SUSE Labs
- References: <OF85F0DF11.10898682-ONC2256F87.0027A2DD-C2256F87.002871DF@il.ibm.com>
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
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.