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: [RFA] Secure scan for multiple back edges in loop_iterations


On Friday 30 November 2001 22:41, Richard Henderson wrote:
> On Fri, Nov 30, 2001 at 03:36:15PM +0100, Olivier Hainque wrote:
> > 	* unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
> >       while scanning for multiple back edges.
>
> This is ok.
>
> It doesn't test exactly what you were interested in, but it'll
> catch computed gotos as well, which is a good thing.

Sorry for not replying earlier, but my private time I can spare on GCC is 
very limited recently. The patch looks good to me too and I can commit it 
over the weekend (I think Olivier has no write access?). Since the same hunk 
of code is in the branch, OK for the branch too after regtesting on x86/PPC?

Franz.


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