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: [PATCH] Fix PR target/11087


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~


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