aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2011-09-13 18:13:24 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2011-09-13 18:13:24 +0000
commitc5c680941b4991048336b692733d6de8b3548115 (patch)
treebc24caa1e81c88307142ec8d0983edc4ef4186a1 /gcc
parent9e53d97c3c13ded66f6c4c7b0970e5453213adf0 (diff)
downloadgcc-c5c680941b4991048336b692733d6de8b3548115.zip
gcc-c5c680941b4991048336b692733d6de8b3548115.tar.gz
gcc-c5c680941b4991048336b692733d6de8b3548115.tar.bz2
m68k.md: Use match_test rather than eq/ne symbol_ref throughout file.
gcc/ * config/m68k/m68k.md: Use match_test rather than eq/ne symbol_ref throughout file. From-SVN: r178823
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/m68k/m68k.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1c326ef..03a32e8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2011-09-13 Richard Sandiford <rdsandiford@googlemail.com>
+ * config/m68k/m68k.md: Use match_test rather than eq/ne symbol_ref
+ throughout file.
+
+2011-09-13 Richard Sandiford <rdsandiford@googlemail.com>
+
* config/h8300/h8300.md: Use match_test rather than eq/ne symbol_ref
throughout file.
diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md
index 16697bf..672ef0d 100644
--- a/gcc/config/m68k/m68k.md
+++ b/gcc/config/m68k/m68k.md
@@ -250,7 +250,7 @@
;; Define 'enabled' attribute.
(define_attr "enabled" ""
- (cond [(and (ne (symbol_ref "TARGET_COLDFIRE") (const_int 0))
+ (cond [(and (match_test "TARGET_COLDFIRE")
(eq_attr "ok_for_coldfire" "no"))
(const_int 0)]
(const_int 1)))