This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR target/11087
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 17 Jul 2003 09:49:53 -0700
- Subject: Re: [PATCH] Fix PR target/11087
- References: <20030717085908.GU20507@sunsite.ms.mff.cuni.cz>
On Thu, Jul 17, 2003 at 10:59:08AM +0200, Jakub Jelinek wrote:
> Other alternatives include creating
> convert_modes variant which is allowed to fail, but not allowed to emit
> any instructions, change loop so that it can record some BIV
> initialization sequence and if it is used, emit it before the loop,
> or emit the possible sequence unconditionally before loop and let it be
> garbage collected if inc_val etc. is not used.
Ug.
> PR target/11087
> * loop.c (basic_induction_var): Check if convert_modes emitted any
> instructions. Remove them and return 0 if so.
>
> * gcc.c-torture/execute/20030717-1.c: New test.
This is ok, but i'd like to see some of your commentary above
put into the code, at least at the first instance.
r~