diff options
author | Richard Henderson <rth@redhat.com> | 2004-11-24 00:09:03 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2004-11-24 00:09:03 +0000 |
commit | eece3159fc9b416f17340e810ee654736c984d24 (patch) | |
tree | f29afe08ac5b976db829029ba56f881700677e6e /gcc/rtl.h | |
parent | 0613b4f73db3742c9a6a9f9203e08a153bcaf3a4 (diff) |
* rtl.h (validate_subreg): Declare.
* emit-rtl.c (validate_subreg): New.
(gen_rtx_SUBREG): Use it.
* simplify-rtx.c (simplify_subreg): Likewise.
(simplify_gen_subreg): Likewise. Remove duplicate asserts.
* expr.c (emit_move_insn_1): Tidy complex move code. Use memory
fallback whenever gen_realpart/gen_imagpart would not be able to
create SUBREGs.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91126 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index 978c92dd7e5..edb2913ac85 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1964,6 +1964,8 @@ extern rtx delete_insn_and_edges (rtx); extern void delete_insn_chain_and_edges (rtx, rtx); extern rtx gen_lowpart_SUBREG (enum machine_mode, rtx); extern rtx gen_const_mem (enum machine_mode, rtx); +extern bool validate_subreg (enum machine_mode, enum machine_mode, + rtx, unsigned int); /* In combine.c */ extern int combine_instructions (rtx, unsigned int); |