This is the mail archive of the gcc-patches@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: integrated immediate uses - alpha patch


On Thu, 2004-10-14 at 23:04, Giovanni Bajo wrote:
> Andrew MacLeod wrote:
> 
> > The only difference is that the SAFE loop allows you to delete and
> > modify stmts, its just a bit slower because it links a guard into the
> > list and moves the guard along as you iterate thorugh the list.  The
> > presence of the guard requires you to use
> >
> >     BREAK_FROM_SAFE_IMM_USE(iter);
> >
> > instead of
> >
> >     break;
> 
> Did you think about ways to catch about mistakes in this regard in checking
> builds?

Yes, but it hasn't been implemented yet. In the verify_ssa or
verify_imm_links (which will be changed an integrated into verify_ssa)
phase a guard can be identified in the list.  

I havent figure out how to avoid the BREAK macro tho. unless we find
another way to implement the safety aspect.  Perhaps something will
occur to me to someone else eventually.  

Andrew


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