From 18b802688624127aa26b3d75dd0ce41e06cbeee9 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Thu, 24 Sep 2009 16:40:36 -0400 Subject: 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 --- gcc/config/m32c/m32c.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/config/m32c/m32c.c') 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) -- cgit v1.1