diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-30 06:12:22 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-30 06:12:22 +0000 |
commit | 4573d576a70a67d1f7a1c75282340ecaf8ecc587 (patch) | |
tree | 94a5923625f40d69409e2f1f008709fbeff934c4 /gcc/cselib.h | |
parent | e3a4b3ceab170db22a112187b36cbe5255e312d0 (diff) | |
download | gcc-4573d576a70a67d1f7a1c75282340ecaf8ecc587.tar.gz |
PR debug/44694
* cselib.h (cselib_preserve_cfa_base_value): Add regno argument.
* cselib.c (cfa_base_preserved_regno): New static variable.
(cselib_reset_table): Don't reset cfa_base_preserved_regno instead
of REGNO (cfa_base_preserved_val->locs->loc).
(cselib_preserve_cfa_base_value): Add regno argument, set
cfa_base_preserved_regno to it.
(cselib_invalidate_regno): Allow removal of registers other than
cfa_base_preserved_regno from cfa_base_preserved_val.
(cselib_finish): Set cfa_base_preserved_regno to INVALID_REGNUM.
* var-tracking.c (adjust_mems): Replace sp or hfp even outside
of MEM addresses, if not on LHS.
(reverse_op): Don't add reverse ops for cfa_base_rtx.
(vt_init_cfa_base): Adjust cselib_preserve_cfa_base_value caller.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161587 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cselib.h')
-rw-r--r-- | gcc/cselib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cselib.h b/gcc/cselib.h index 90d963888c6..4259e396fdf 100644 --- a/gcc/cselib.h +++ b/gcc/cselib.h @@ -99,6 +99,6 @@ extern unsigned int cselib_get_next_uid (void); extern void cselib_preserve_value (cselib_val *); extern bool cselib_preserved_value_p (cselib_val *); extern void cselib_preserve_only_values (void); -extern void cselib_preserve_cfa_base_value (cselib_val *); +extern void cselib_preserve_cfa_base_value (cselib_val *, unsigned int); extern void dump_cselib_table (FILE *); |