aboutsummaryrefslogtreecommitdiff
path: root/gcc/read-rtl.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2004-08-31 07:00:15 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2004-08-31 07:00:15 +0000
commitf51a38b9c178b325ea983283908f40fc009a1da5 (patch)
tree6ce0023fe38a3cbf892a1690b48b794e3a1d59f9 /gcc/read-rtl.c
parent34ebf75508568c73a883895e29deced5b4505ff5 (diff)
downloadgcc-f51a38b9c178b325ea983283908f40fc009a1da5.zip
gcc-f51a38b9c178b325ea983283908f40fc009a1da5.tar.gz
gcc-f51a38b9c178b325ea983283908f40fc009a1da5.tar.bz2
read-rtl.c: Disable RTL checking.
* read-rtl.c: Disable RTL checking. (apply_macro_to_rtx): Use XTMPL to access 'T' fields. From-SVN: r86822
Diffstat (limited to 'gcc/read-rtl.c')
-rw-r--r--gcc/read-rtl.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c
index db0b3d7..2cd4e22 100644
--- a/gcc/read-rtl.c
+++ b/gcc/read-rtl.c
@@ -21,6 +21,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
#include "bconfig.h"
+
+/* Disable rtl checking; it conflicts with the macro handling. */
+#undef ENABLE_RTL_CHECKING
+
#include "system.h"
#include "coretypes.h"
#include "tm.h"
@@ -316,8 +320,11 @@ apply_macro_to_rtx (rtx original, struct mapping *macro, int value)
for (i = 0; format_ptr[i] != 0; i++)
switch (format_ptr[i])
{
- case 'S':
case 'T':
+ XTMPL (x, i) = apply_macro_to_string (XTMPL (x, i), macro, value);
+ break;
+
+ case 'S':
case 's':
XSTR (x, i) = apply_macro_to_string (XSTR (x, i), macro, value);
break;