This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Secure scan for multiple back edges in loop_iterations
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- To: Richard Henderson <rth at redhat dot com>,Olivier Hainque <hainque at ACT-Europe dot FR>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Nov 2001 23:17:07 +0100
- Subject: Re: [RFA] Secure scan for multiple back edges in loop_iterations
- References: <kt667sjpgg.fsf@berlin.int.act-europe.fr> <20011130134122.G32134@redhat.com>
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.