[PATCH] Fix PR target/11087
Richard Henderson
rth@redhat.com
Thu Jul 17 16:49:00 GMT 2003
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~
More information about the Gcc-patches
mailing list