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]

Re: Bug in reload_cse_move2add()


> 1) We don't appear to note where a conditional jump may branch back in the 
> source, hence a loop of the form
> 
> 	L1
> 	   ...
> 	   incr (reg)
> 	   ...
> 	   b<cond> L1
> 
> 	   reg=const
> 
> might not see the multiple increments (why does the main loop in 
> reload_cse_move2add not handle JUMP_INSNs?)

It handles LABEL_REFs; all information gathered before a LABEL_REF seen
is ignored.

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