diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-30 17:23:53 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-30 17:23:53 +0000 |
commit | aa4c562dab1f468c0143e43f1898e6a597d994d3 (patch) | |
tree | f463ba2f0823d6664856d0b8348a8f2cc0663d3f /gcc/rtl.h | |
parent | 68a207802bd6b03bb8cfd40497058bdb6c0da891 (diff) | |
download | gcc-aa4c562dab1f468c0143e43f1898e6a597d994d3.tar.gz |
* rtl.def (DEFINE_INSN, DEFINE_INSN_AND_SPLIT, DEFINE_PEEPHOLE):
Change output-template slot to format 'T'.
* rtl.h (XTMPL): New.
* read-rtl.c (read_escape): New function.
(read_quoted_string, read_braced_string): Use it.
(read_rtx): Set star_if_braced from the format string.
Use XTMPL where appropriate.
* genoutput.c (gen_insn, gen_peephole): Use XTMPL to get the
template string.
* rtl.c: Include errors.h for sake of rtl_check_failed* routines.
Document 'T' in rtx format strings.
* Makefile.in (rtl.o, $(HOST_PREFIX_1)rtl.o): Depend on errors.h.
* errors.c (internal_error): Add missing ": " at end of string.
* i860.md: Change triple backslashes to double backslashes at
ends of lines in output templates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43665 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index ca35d3f33bc..84de8fe3d39 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -320,6 +320,7 @@ extern void rtvec_check_failed_bounds PARAMS ((rtvec, int, #define XBITMAP(RTX, N) (RTL_CHECK1(RTX, N, 'b').rtbit) #define XTREE(RTX, N) (RTL_CHECK1(RTX, N, 't').rttree) #define XBBDEF(RTX, N) (RTL_CHECK1(RTX, N, 'B').bb) +#define XTMPL(RTX, N) (RTL_CHECK1(RTX, N, 'T').rtstr) #define XVECEXP(RTX, N, M) RTVEC_ELT (XVEC (RTX, N), M) #define XVECLEN(RTX, N) GET_NUM_ELEM (XVEC (RTX, N)) |