This is the mail archive of the gcc@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-ssa] Loop detection broken by the last merges


> 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.


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