summaryrefslogtreecommitdiff
path: root/gcc/recog.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-27 01:21:13 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-27 01:21:13 +0000
commit11d686e25f7f40db2e4161ab80ff70021169a33f (patch)
treed59653c3a0aa3705788cc27ac0fac2f506d86c38 /gcc/recog.h
parentd42964c933c83676e0b9681eb3034858c46c87aa (diff)
downloadgcc-11d686e25f7f40db2e4161ab80ff70021169a33f.tar.gz
* fwprop.c (try_fwprop_subst): Use validate_unshare_change.
* postreload.c (reload_cse_simplify_set): Instead of copying the rtx early use validate_unshare_change. (reload_combine): Likewise. * recog.c (change_t): New field unshare. (validate_change_1): Rename from validate_change; add argument unshare. (validate_change): Turn into wrapper of validate_change_1; update prototype for bools. (validate_unshare_change): New. (confirm_change_group): Unshare changes if asked for; avoid unnecesary calls of df_insn_rescan. * recog.h (validate_change): Replace ints by bools. (validate_unshare_change): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126050 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.h')
-rw-r--r--gcc/recog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/recog.h b/gcc/recog.h
index cf52cd3f0f0..f1b993a9313 100644
--- a/gcc/recog.h
+++ b/gcc/recog.h
@@ -73,7 +73,8 @@ extern void init_recog (void);
extern void init_recog_no_volatile (void);
extern int check_asm_operands (rtx);
extern int asm_operand_ok (rtx, const char *);
-extern int validate_change (rtx, rtx *, rtx, int);
+extern bool validate_change (rtx, rtx *, rtx, bool);
+extern bool validate_unshare_change (rtx, rtx *, rtx, bool);
extern bool canonicalize_change_group (rtx insn, rtx x);
extern int insn_invalid_p (rtx);
extern int verify_changes (int);