diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-09 21:40:48 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-09 21:40:48 +0000 |
commit | bccb54440a2db32b6bf7feaf695859a1f5062bed (patch) | |
tree | 0f4ba6c4f6978df7d77d7f9b7c320a76b3712099 /gcc/hard-reg-set.h | |
parent | a8a0294d5520b2324fa601058689967464ff239e (diff) | |
download | gcc-bccb54440a2db32b6bf7feaf695859a1f5062bed.tar.gz |
* reload.c (find_reloads): Don't clear badop if we have a
winreg alternative, but not win, and the class only has fixed
regs.
* hard-reg-set.h (class_only_fixed_regs): Declare.
* reginfo.c (class_only_fixed_regs): New array.
(init_reg_sets_1): Initialize it.
* config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn): Don't
discourage alternatives using the stack pointer.
testsuite/
* gcc.dg/pr32370.c: Allow another kind of error message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162019 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hard-reg-set.h')
-rw-r--r-- | gcc/hard-reg-set.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h index 272a2394d5d..1e797285523 100644 --- a/gcc/hard-reg-set.h +++ b/gcc/hard-reg-set.h @@ -643,6 +643,10 @@ extern int inv_reg_alloc_order[FIRST_PSEUDO_REGISTER]; extern HARD_REG_SET reg_class_contents[N_REG_CLASSES]; +/* For each reg class, a boolean saying whether the class contains only + fixed registers. */ +extern bool class_only_fixed_regs[N_REG_CLASSES]; + /* For each reg class, number of regs it contains. */ extern unsigned int reg_class_size[N_REG_CLASSES]; |