This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR optimization/10157
On Thu, Apr 03, 2003 at 05:13:59PM +0200, Eric Botcazou wrote:
> * gcse.c (can_copy_p): Rename it to can_copy.
> (can_copy_init_p): Remove.
> (compute_can_copy): Use can_copy instead of can_copy_p.
> (can_copy_p): New exported function. Call compute_can_copy.
> (hash_scan_set): Use it.
> (gcse_main): Don't call compute_can_copy.
> (bypass_jumps): Don't call compute_can_copy.
> * rtl.h (can_copy_p): Declare.
> * loop.c (scan_loop): Don't move the source and add a reg-to-reg
> copy if the mode doesn't support copy operations.
Ok.
r~