This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Loop detection broken by the last merges
- From: Jan Hubicka <jh at suse dot cz>
- To: Pop Sébastian <pop at gauvain dot u-strasbg dot fr>
- Cc: dnovillo at redhat dot com, jh at suse dot cz, gcc at gcc dot gnu dot org
- Date: Thu, 24 Jul 2003 18:06:45 +0200
- Subject: Re: [tree-ssa] Loop detection broken by the last merges
- References: <20030724123028.GA29548@gauvain.u-strasbg.fr>
> Hi Diego, hi Jan,
>
> The loop detection is broken mainly from the fact that mainline
> is using the BB.aux field in the following macro:
>
> #define HEADER_BLOCK(B) (* (int *) (B)->aux)
>
> This results in a conflict since this field is already used for
> other purposes in the tree-ssa branch.
what about adding an field to the datastrtucture then so code using aux
pointers can be used too?
>
> I have proposed to use a varray in stead of this field, but this
> part of the patch was not included in mainline, and now it has
> been completely removed by the merge.
>
> Jan,
> is the cfg_layout supposed to work on tree level too?
> My impression is that cfg_layout is RTL specific.
No, you should not need anything like cfg_layout on trees. These are
just abstraction around the rtl chain.
Honza
>
> I will post a patch for making the loop detection work again.
>
> Sebastian.