summaryrefslogtreecommitdiff
path: root/gcc/genoutput.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-30 17:23:53 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-30 17:23:53 +0000
commitaa4c562dab1f468c0143e43f1898e6a597d994d3 (patch)
treef463ba2f0823d6664856d0b8348a8f2cc0663d3f /gcc/genoutput.c
parent68a207802bd6b03bb8cfd40497058bdb6c0da891 (diff)
downloadgcc-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/genoutput.c')
-rw-r--r--gcc/genoutput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c
index c2cb124a536..bca9a623259 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,