diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2001-06-30 17:23:53 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-06-30 17:23:53 +0000 |
commit | 1f3b37a3d55f2717cdcd349acaf0ed4c38df7ac4 (patch) | |
tree | f463ba2f0823d6664856d0b8348a8f2cc0663d3f /gcc/genoutput.c | |
parent | 07804c3b7d630c9e75a42f74f2eec39dba49aa64 (diff) | |
download | gcc-1f3b37a3d55f2717cdcd349acaf0ed4c38df7ac4.zip gcc-1f3b37a3d55f2717cdcd349acaf0ed4c38df7ac4.tar.gz gcc-1f3b37a3d55f2717cdcd349acaf0ed4c38df7ac4.tar.bz2 |
rtl.def (DEFINE_INSN, [...]): Change output-template slot to format 'T'.
* 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.
From-SVN: r43665
Diffstat (limited to 'gcc/genoutput.c')
-rw-r--r-- | gcc/genoutput.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c index c2cb124..bca9a62 100644 --- a/gcc/genoutput.c +++ b/gcc/genoutput.c @@ -808,7 +808,7 @@ gen_insn (insn, lineno) validate_insn_operands (d); validate_insn_alternatives (d); place_operands (d); - process_template (d, XSTR (insn, 3)); + process_template (d, XTMPL (insn, 3)); } /* Look at a define_peephole just read. Assign its code number. @@ -849,7 +849,7 @@ gen_peephole (peep, lineno) validate_insn_alternatives (d); place_operands (d); - process_template (d, XSTR (peep, 2)); + process_template (d, XTMPL (peep, 2)); } /* Process a define_expand just read. Assign its code number, |