aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m32c/m32c-protos.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2007-02-08 17:22:52 -0500
committerDJ Delorie <dj@gcc.gnu.org>2007-02-08 17:22:52 -0500
commitf9b894388828f39c8cdcd7df1cf609c63a3275de (patch)
treeca63f21f6a9cf192f20b2fca82777f493a0bb2ec /gcc/config/m32c/m32c-protos.h
parentff39b79b8fe48e0f47c2798b71732250264baaa7 (diff)
downloadgcc-f9b894388828f39c8cdcd7df1cf609c63a3275de.zip
gcc-f9b894388828f39c8cdcd7df1cf609c63a3275de.tar.gz
gcc-f9b894388828f39c8cdcd7df1cf609c63a3275de.tar.bz2
m32c-protos.h (m32c_illegal_subreg_p): New.
* config/m32c/m32c-protos.h (m32c_illegal_subreg_p): New. * config/m32c/m32c.c (legal_subregs): New. (m32c_illegal_subreg_p): New. * config/m32c/predicates.md (m32c_any_operand): Use it to reject unsupported subregs of hard regs. From-SVN: r121725
Diffstat (limited to 'gcc/config/m32c/m32c-protos.h')
-rw-r--r--gcc/config/m32c/m32c-protos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/m32c/m32c-protos.h b/gcc/config/m32c/m32c-protos.h
index 4b3ead3..5735ee7 100644
--- a/gcc/config/m32c/m32c-protos.h
+++ b/gcc/config/m32c/m32c-protos.h
@@ -74,6 +74,7 @@ int m32c_extra_constraint_p (rtx, char, const char *);
int m32c_extra_constraint_p2 (rtx, char, const char *);
int m32c_hard_regno_nregs (int, MM);
int m32c_hard_regno_ok (int, MM);
+bool m32c_illegal_subreg_p (rtx);
bool m32c_immd_dbl_mov (rtx *, MM);
rtx m32c_incoming_return_addr_rtx (void);
void m32c_initialize_trampoline (rtx, rtx, rtx);