This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in reload_cse_move2add()
- To: rearnsha at arm dot com
- Subject: Re: Bug in reload_cse_move2add()
- From: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Date: Tue, 16 Jan 2001 23:52:25 +0000 (GMT)
- Cc: aoliva at redhat dot com (Alexandre Oliva),rearnsha at buzzard dot freeserve dot co dot uk (Richard Earnshaw),amylaar at redhat dot com (Joern Rennecke), gcc-patches at gcc dot gnu dot org,law at redhat dot com
> 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.