optimization/10157
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Thu Apr 3 19:26:00 GMT 2003
The following reply was made to PR optimization/10157; it has been noted by GNATS.
From: ebotcazou@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: optimization/10157
Date: 3 Apr 2003 19:20:06 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ebotcazou@gcc.gnu.org 2003-04-03 19:20:06
Modified files:
gcc : ChangeLog gcse.c loop.c rtl.h
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: sparc-loop-1.c
Log message:
PR optimization/10157
* 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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.17315&r2=1.17316
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcse.c.diff?cvsroot=gcc&r1=1.243&r2=1.244
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop.c.diff?cvsroot=gcc&r1=1.451&r2=1.452
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtl.h.diff?cvsroot=gcc&r1=1.390&r2=1.391
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2570&r2=1.2571
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/sparc-loop-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
More information about the Gcc-prs
mailing list