This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Correct the initialization of an edge flag
On Mon, Apr 14, 2003 at 01:53:03AM +0200, Jan Hubicka wrote:
> > Hi,
> >
> > This patch marks the following edges as fallthru:
> >
> > LOOP_EXPR
> > |
> > v
> > LOOP_EXPR_BODY
> >
> > Bootstrapped on i686. Ok?
>
> What exactly do you need fallthru edges from? On RTL they are used
> because the RTL chain is linear, but for trees they IMO have no real
> equivalent. In case you mean something else by that it is probably
> better to invent new flag to avoid common code from being confused.
>
I had an error while building the loops structure and I thought that
this was a mistake in the tree cfg builder.
The EDGE_FALLTHRU flag is already used at the tree level, for example:
make_edge (ENTRY_BLOCK_PTR, BASIC_BLOCK (0), EDGE_FALLTHRU);