+2001-07-03 Zack Weinberg <zackw@stanford.edu>
+
+ * rtl.c (copy_rtx): Handle 'T' format letter.
+ * gensupport.c (collect_insn_data): Likewise.
+ * print-rtl.c (print_rtx): Print 'T' slots like 's'.
+
2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
* doc/invoke.texi (Directory Options): Specifiy range for <N> in
collect_insn_data (XVECEXP (pattern, i, j), palt, pmax);
break;
- case 'i': case 'w': case '0': case 's': case 'S':
+ case 'i': case 'w': case '0': case 's': case 'S': case 'T':
break;
default:
for (; i < GET_RTX_LENGTH (GET_CODE (in_rtx)); i++)
switch (*format_ptr++)
{
+ const char *str;
+
+ case 'T':
+ str = XTMPL (in_rtx, i);
+ goto string;
+
case 'S':
case 's':
- if (XSTR (in_rtx, i) == 0)
+ str = XSTR (in_rtx, i);
+ string:
+
+ if (str == 0)
fputs (dump_for_graph ? " \\\"\\\"" : " \"\"", outfile);
else
{
if (dump_for_graph)
- fprintf (outfile, " (\\\"%s\\\")", XSTR (in_rtx, i));
+ fprintf (outfile, " (\\\"%s\\\")", str);
else
- fprintf (outfile, " (\"%s\")", XSTR (in_rtx, i));
+ fprintf (outfile, " (\"%s\")", str);
}
sawclose = 1;
break;