aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2001-06-30 17:23:53 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-06-30 17:23:53 +0000
commit1f3b37a3d55f2717cdcd349acaf0ed4c38df7ac4 (patch)
treef463ba2f0823d6664856d0b8348a8f2cc0663d3f /gcc/rtl.c
parent07804c3b7d630c9e75a42f74f2eec39dba49aa64 (diff)
downloadgcc-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/rtl.c')
-rw-r--r--gcc/rtl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 0c84d75..0e4a9b3 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */
#include "rtl.h"
#include "real.h"
#include "ggc.h"
+#include "errors.h"
/* Calculate the format for CONST_DOUBLE. This depends on the relative
@@ -230,6 +231,8 @@ const char * const rtx_format[] = {
prints the string
"S" like "s", but optional:
the containing rtx may end before this operand
+ "T" like "s", but treated specially by the RTL reader;
+ only found in machine description patterns.
"e" a pointer to an rtl expression
prints the expression
"E" a pointer to a vector that points to a number of rtl expressions