diff options
| author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-31 07:00:15 +0000 |
|---|---|---|
| committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-31 07:00:15 +0000 |
| commit | 4f1159f8c79db9bafa1852914f1c581d4bf2c103 (patch) | |
| tree | 6ce0023fe38a3cbf892a1690b48b794e3a1d59f9 /gcc | |
| parent | 54f06ca6160c78e58fd6189dbc489b88d25f75aa (diff) | |
| download | ppe42-gcc-4f1159f8c79db9bafa1852914f1c581d4bf2c103.tar.gz ppe42-gcc-4f1159f8c79db9bafa1852914f1c581d4bf2c103.zip | |
* read-rtl.c: Disable RTL checking.
(apply_macro_to_rtx): Use XTMPL to access 'T' fields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86822 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/read-rtl.c | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99dbaf7fc42..11d9a3de7bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-08-31 Richard Sandiford <rsandifo@redhat.com> + * read-rtl.c: Disable RTL checking. + (apply_macro_to_rtx): Use XTMPL to access 'T' fields. + +2004-08-31 Richard Sandiford <rsandifo@redhat.com> + * config/mips/mips.md (fcond): New code macro and attribute. (sunordered_[sd]f, suneq_[sd]f, sunlt_[sd]f, sunle_[sd]f) (seq_[sd]f, slt_[sd]f, sle_[sd]f): Redefine using :SCALARF and fcond. diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c index db0b3d7d3fb..2cd4e22a4c1 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; |

