aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2003-04-03 21:20:06 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2003-04-03 19:20:06 +0000
commit773eae3968d667a04e0fadf85c2536ad2a313618 (patch)
treeda21670875e2f4f834c72f607c39c9fb2b81cb38 /gcc/rtl.h
parent613fa1469c1a9b5a8f27fe76a5731e154535c71e (diff)
downloadgcc-773eae3968d667a04e0fadf85c2536ad2a313618.zip
gcc-773eae3968d667a04e0fadf85c2536ad2a313618.tar.gz
gcc-773eae3968d667a04e0fadf85c2536ad2a313618.tar.bz2
re PR rtl-optimization/10157 ([Sparc] internal compiler error: in extract_insn, at recog.c:2188)
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. From-SVN: r65210
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index c7e938c..c03172b 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2112,6 +2112,7 @@ extern rtx expand_mult_highpart PARAMS ((enum machine_mode, rtx,
int, int));
/* In gcse.c */
+extern bool can_copy_p PARAMS ((enum machine_mode));
#ifdef BUFSIZ
extern int gcse_main PARAMS ((rtx, FILE *));
extern int bypass_jumps PARAMS ((FILE *));