diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2003-01-31 20:23:23 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2003-01-31 20:23:23 +0000 |
commit | e137391e86616c556ac183f9d704e11798fc5037 (patch) | |
tree | d6a5b2ced400c0c00ad1272ca72be1009ac568c2 /gcc | |
parent | ba49f6f13b7397214b1e714d38bedaf3a314bcdf (diff) | |
download | gcc-e137391e86616c556ac183f9d704e11798fc5037.zip gcc-e137391e86616c556ac183f9d704e11798fc5037.tar.gz gcc-e137391e86616c556ac183f9d704e11798fc5037.tar.bz2 |
pa32-regs.h (REGNO_REG_CLASS, [...]): Delete duplicated code.
* pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
duplicated code.
From-SVN: r62196
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/pa/pa32-regs.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 96b25f5..9a506e7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete + duplicated code. + 2003-01-31 Nathan Sidwell <nathan@codesourcery.com> * tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove. diff --git a/gcc/config/pa/pa32-regs.h b/gcc/config/pa/pa32-regs.h index f5c6aaa..ac23a69 100644 --- a/gcc/config/pa/pa32-regs.h +++ b/gcc/config/pa/pa32-regs.h @@ -259,7 +259,6 @@ enum reg_class { NO_REGS, R1_REGS, GENERAL_REGS, FPUPPER_REGS, FP_REGS, : (REGNO) < 32 ? GENERAL_REGS \ : (REGNO) < 56 ? FP_REGS \ : (REGNO) < 88 ? FPUPPER_REGS \ - : (REGNO) < 88 ? FPUPPER_REGS \ : SHIFT_REGS) /* Get reg_class from a letter such as appears in the machine description. */ @@ -267,7 +266,6 @@ enum reg_class { NO_REGS, R1_REGS, GENERAL_REGS, FPUPPER_REGS, FP_REGS, #define REG_CLASS_FROM_LETTER(C) \ ((C) == 'f' ? FP_REGS : \ (C) == 'y' ? FPUPPER_REGS : \ - (C) == 'y' ? FPUPPER_REGS : \ (C) == 'x' ? FP_REGS : \ (C) == 'q' ? SHIFT_REGS : \ (C) == 'a' ? R1_REGS : \ |