diff options
author | DJ Delorie <dj@redhat.com> | 2009-09-24 16:40:36 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2009-09-24 16:40:36 -0400 |
commit | 18b802688624127aa26b3d75dd0ce41e06cbeee9 (patch) | |
tree | 34be4c7ed01776e2acc6a10a2efd50545d836eba /gcc/config/m32c/m32c.c | |
parent | 368908d82b2f308fd2d78c4ee286071f08efc902 (diff) | |
download | gcc-18b802688624127aa26b3d75dd0ce41e06cbeee9.zip gcc-18b802688624127aa26b3d75dd0ce41e06cbeee9.tar.gz gcc-18b802688624127aa26b3d75dd0ce41e06cbeee9.tar.bz2 |
re PR target/41456 (unrecognized R constraint: R13)
PR target/41456
* config/m32c/m32c.h (REG_CLASS_CONTENTS): Add R13.
(reg_class): Likewise.
(REG_CLASS_NAMES): Likewise.
* config/m32c/m32c.c (m32c_reg_class_from_constraint): Likewise.
* config/m32c/m32c.c (m32c_override_options): Disable -fivopts for
M32C.
From-SVN: r152144
Diffstat (limited to 'gcc/config/m32c/m32c.c')
-rw-r--r-- | gcc/config/m32c/m32c.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/m32c/m32c.c b/gcc/config/m32c/m32c.c index a068949..4eeedb1 100644 --- a/gcc/config/m32c/m32c.c +++ b/gcc/config/m32c/m32c.c @@ -422,6 +422,9 @@ m32c_override_options (void) } else target_memregs = 16; + + if (TARGET_A24) + flag_ivopts = 0; } /* Defining data structures for per-function information */ @@ -638,6 +641,8 @@ m32c_reg_class_from_constraint (char c ATTRIBUTE_UNUSED, const char *s) return R3_REGS; if (memcmp (s, "R02", 3) == 0) return R02_REGS; + if (memcmp (s, "R13", 3) == 0) + return R13_REGS; if (memcmp (s, "R03", 3) == 0) return R03_REGS; if (memcmp (s, "Rdi", 3) == 0) |