rtl.c (copy_rtx): Handle 'T' format letter.

* rtl.c (copy_rtx): Handle 'T' format letter.
	* gensupport.c (collect_insn_data): Likewise.
	* print-rtl.c (print_rtx): Print 'T' slots like 's'.

From-SVN: r43732
This commit is contained in:
Zack Weinberg 2001-07-03 19:23:35 +00:00 committed by Zack Weinberg
parent bf4eebe0c1
commit 3b32434036
4 changed files with 20 additions and 4 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -453,7 +453,7 @@ collect_insn_data (pattern, palt, pmax)
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:

View File

@ -163,16 +163,25 @@ print_rtx (in_rtx)
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;

View File

@ -420,6 +420,7 @@ copy_rtx (orig)
case 'i':
case 's':
case 'S':
case 'T':
case 'u':
case '0':
/* These are left unchanged. */