diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-28 10:11:47 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-28 10:11:47 +0000 |
commit | c3988e3beb5f2c60564c959918af009f2338d308 (patch) | |
tree | 90126b3c24f149851de417e946284822a2bf0b58 /gcc/combine.c | |
parent | 02cddcf4e59ff3710039490299eabb2c81a5a2b9 (diff) | |
download | gcc-c3988e3beb5f2c60564c959918af009f2338d308.tar.gz |
* combine.c (gen_lowpart_for_combine): Update handling of
subregs_of_mode
* flow.c (life_analysis, mark_used_regs): Likewise.
* regclass.c (subregs_of_mode): Turn into single bitmap.
(cannot_change-mode_set_regs, invalid_mode_change_p): Update
dealing with subregs_of_mode
* regs.h (subregs_of_mode): Update prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63552 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 50b1876eb58..e1933870251 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -10201,8 +10201,9 @@ gen_lowpart_for_combine (mode, x) && GET_CODE (result) == SUBREG && GET_CODE (SUBREG_REG (result)) == REG && REGNO (SUBREG_REG (result)) >= FIRST_PSEUDO_REGISTER) - SET_REGNO_REG_SET (&subregs_of_mode[GET_MODE (result)], - REGNO (SUBREG_REG (result))); + bitmap_set_bit (&subregs_of_mode, REGNO (SUBREG_REG (result)) + * MAX_MACHINE_MODE + + GET_MODE (result)); #endif if (result) |