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]: out-of-ssa breaks if something adds a pred


On Fri, 2003-06-06 at 16:08, Daniel Berlin wrote:
> 

> Plus, the current way we create phi nodes would mean that we'd have to 
> rebuild all the phi's (their number of arguments is fixed at creation 
> time).
> Diego, what to do here?
> 
We change them all the time..


add_phi_arg
remove_phi_arg

in tree-dfa.c

If there is a problem at some point where it can't be grown any more,
then you'll haev to fix the routine to grow the array and copy it. AT
least its a single entry point for handling it.


Andrew


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